Beispiel #1
0
    private IEnumerator MoveRandom()
    {
        yield return(new WaitForSeconds(3.5f));

        while (!health.GetDeathState())
        {
            movementInputValue = 1;
            yield return(new WaitForEndOfFrame());
        }
    }