コード例 #1
0
ファイル: Camera3DScript.cs プロジェクト: sigmadruid/NewMaze
 	void OnDestroy()
 	{
         Instance = null;
         Camera = null;
 		StopAllCoroutines();
 	}
コード例 #2
0
ファイル: Camera3DScript.cs プロジェクト: sigmadruid/NewMaze
 	void Awake()
 	{
 		Instance = this;
         Camera = GetComponent<Camera>();
 		cachedTransform = transform;
 	}