Update() public méthode

public Update ( ) : void
Résultat void
Exemple #1
0
    // Update is called once per frame
    public void Update()
    {
        if (!Stop)
        {
            timepoint += Time.deltaTime;

            if (currentSkill != null)
            {
                if (currentSkill.isEnd)
                {
                    if (!currentSkill.isBigSkill)
                    {
                        AddCooding();
                    }
                }
                else
                {
                    currentSkill.Update(timepoint);
                }
            }

            CoodingUpdate();
        }
    }