Exemplo n.º 1
0
    void Awake()
    {
        GameModeEnded           = new SmartEvent(this);
        SetupFinished           = new SmartEvent(this);
        GooglePlayAuthenticated = new SmartEvent(this);

        GooglePlayAuthenticated.SetSubscription(true, () => _notLoggedInIndicator.SetActive(false));
    }
Exemplo n.º 2
0
 void Start()
 {
     Helpers.UpdateMeshColor(GetComponent <MeshFilter>().mesh, _color);
     Died.SetSubscription(true, DoDeathEffect);
 }