コード例 #1
0
ファイル: ZestKit.cs プロジェクト: r618/ZestKit
 void Awake()
 {
     if (_instance == null)
     {
         _instance = this;
     }
 }
コード例 #2
0
ファイル: ZestKit.cs プロジェクト: jinsp/SevenUpDrawPoker
        void Awake()
        {
            if (_instance == null)
            {
                _instance = this;
            }

                        #if UNITY_5_4_OR_NEWER
            SceneManager.sceneLoaded -= OnSceneWasLoaded;
            SceneManager.sceneLoaded += OnSceneWasLoaded;
                        #endif
        }
コード例 #3
0
		void OnApplicationQuit()
		{
			_instance = null;
			Destroy( gameObject );
			_applicationIsQuitting = true;
		}
コード例 #4
0
		void Awake()
		{
			if( _instance == null )
				_instance = this;
		}
コード例 #5
0
ファイル: ZestKit.cs プロジェクト: jinsp/SevenUpDrawPoker
 void OnApplicationQuit()
 {
     _instance = null;
     Destroy(gameObject);
     _applicationIsQuitting = true;
 }
コード例 #6
0
 private void OnApplicationQuit()
 {
     _instance = null;
     Destroy(gameObject);
 }