EndlessRunner.Update C# (CSharp) Méthode

Update() public méthode

public Update ( ) : void
Résultat void
    void Update()
    {
        if(mainCharacter.transform.position.y < -2)
        {
            ResetCharacter();
        }
    }