void Awake() { GameModeEnded = new SmartEvent(this); SetupFinished = new SmartEvent(this); GooglePlayAuthenticated = new SmartEvent(this); GooglePlayAuthenticated.SetSubscription(true, () => _notLoggedInIndicator.SetActive(false)); }
void Start() { Helpers.UpdateMeshColor(GetComponent <MeshFilter>().mesh, _color); Died.SetSubscription(true, DoDeathEffect); }