예제 #1
0
    void Awake()
    {
        GameModeEnded           = new SmartEvent(this);
        SetupFinished           = new SmartEvent(this);
        GooglePlayAuthenticated = new SmartEvent(this);

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