Beispiel #1
0
    //void Start()
    //{
    //    UpdateManager.OnUpdate += DoUpdate;
    //}

    internal void DoUpdate()
    {
        if (IsActive)
        {
            Animate();
        }
        if (NextUnitAnimation)
        {
            NextUnitAnimation.DoUpdate();
        }
    }
Beispiel #2
0
 // Update is called once per frame
 public void DoUpdate()
 {
     animationSqrips.DoUpdate();
 }