private void Awake() { if (i != null) { Destroy(this); return; } i = this; RefreshChatLastCheckedTimestamp(); }
private void Awake() { if (i != null) { Destroy(this); return; } i = this; RefreshChatLastCheckedTimestamp(); CommonScriptableObjects.rendererState.OnChange += OnRendererStateChange; CommonScriptableObjects.allUIHidden.OnChange += OnAllUIHiddenChange; }