void Awake() { if (!MenuMB.Instance) { MenuMB.Instance = this; DontDestroyOnLoad(this.gameObject); } else { DestroyImmediate(this.gameObject); } alpha = 0f; }
void Awake() { MenuMB.instance = this; alpha = 0f; }