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