void Update() { if (currentCursor.IsAnimated) { currentCursor.Animate(Time.deltaTime); } }
void Update() { foreach (Cursor cur in cursors) { if (cur.cursorID == currentCursorID) { currentCursor = cur; } } if (currentCursor.getAnimate()) { currentCursor.Animate(); } }