public override void Awake() { if (Instance == null) { Instance = this; } else { throw new System.Exception("Can't have multiple instance of the same script."); } }
public override void End() { Instance = null; }