Coins.Update C# (CSharp) Méthode

Update() private méthode

private Update ( ) : void
Résultat void
    void Update()
    {
        #if UNITY_EDITOR
        if (Input.GetKeyUp(KeyCode.C))
        {
            total += 100;
        }
        #endif
    }

Usage Example

Exemple #1
0
 public void Update(GameTime gameTime, CameraOperator cameraOperator, World world)
 {
     Player.Update(gameTime);
     Coins.Update(gameTime, cameraOperator, this, world);
     Slimes.Update(gameTime);
 }