FairyGUI.GObject.HandleControllerChanged C# (CSharp) Méthode

HandleControllerChanged() public méthode

public HandleControllerChanged ( FairyGUI.Controller c ) : void
c FairyGUI.Controller
Résultat void
        public virtual void HandleControllerChanged(Controller c)
        {
            for (int i = 0; i < 8; i++)
            {
                GearBase gear = _gears[i];
                if (gear != null && gear.controller == c)
                    gear.Apply();
            }
        }

Usage Example

Exemple #1
0
        internal void ApplyController(Controller c)
        {
            int cnt = _children.Count;

            for (int i = 0; i < cnt; ++i)
            {
                GObject child = _children[i];
                child.HandleControllerChanged(c);
            }
        }
All Usage Examples Of FairyGUI.GObject::HandleControllerChanged