예제 #1
0
 	void OnDestroy()
 	{
         Instance = null;
         Camera = null;
 		StopAllCoroutines();
 	}
예제 #2
0
 	void Awake()
 	{
 		Instance = this;
         Camera = GetComponent<Camera>();
 		cachedTransform = transform;
 	}