void Awake() { if (loginController == null){ loginController = this; }else if (loginController != this){ Destroy(gameObject); } }