Exemple #1
0
	private void OnDestroy()
	{
		Instance = null;
	}
Exemple #2
0
	private void Awake()
	{
		if(Instance == null)
			Instance = this;
	}