public void Awake() { if (instance == null) { instance = this; } if (instance != this) { Debug.LogWarning("PhoneRemote must be a singleton."); enabled = false; return; } }