예제 #1
0
		/// <summary>
		/// Triggers the instance to be searched again on OnLevelWasLoaded() 
		/// </summary>
		void OnLevelWasLoaded(int level)
		{
			_instance = null;
		}
예제 #2
0
		/// <summary>
		/// Triggers the instance to be searched again on OnDisable()
		/// </summary>
		public void OnDisable()
		{
			_instance = null;
		}