Example #1
0
    void Start()
    {
        InnerGameController.Instance.OnPlayerDie += InnerGameController_OnPlayerDie;
        StartCoroutine(Spawn(wait));

        Timing.CallPeriodically(Mathf.Infinity, 10f, stats.UpdateFollowers);
    }