private void OnDestroy() { if (Instance == this) { Instance = null; } }
private void Start() { if (!Instance) { Instance = GuitardHeroGM.Instance; } }
private void Awake() { if (!Instance) { Instance = this; } }
// Use this for initialization void Start() { if (!guitardHeroGM) { guitardHeroGM = GuitardHeroGM.Instance; } }