示例#1
0
 void Update()
 {
     if (currentCursor.IsAnimated)
     {
         currentCursor.Animate(Time.deltaTime);
     }
 }
示例#2
0
    void Update()
    {
        foreach (Cursor cur in cursors)
        {
            if (cur.cursorID == currentCursorID)
            {
                currentCursor = cur;
            }
        }

        if (currentCursor.getAnimate())
        {
            currentCursor.Animate();
        }
    }