NOTE/IT Information 7

[BLOG] 소스코드 보기좋게 나타내기

Syntaxhighlighter 라는것을 적용해서 ▼와 같이 나타낼 수 있다. public class Singleton : MonoBehaviour where T : MonoBehaviour { private static T _instance = null; public static T Instance { get { if (_instance == null) { _instance = (T)FindObjectOfType(typeof(T)) as T; if (_instance == null) { Debug.Log("Singleton object null"); } } return _instance; } } } 잘 설명된 블로그.http://sometimes-n.tistory.com/5 기본 다운로드 후 파일올리고..

NOTE/IT Information 2016.10.19