3.14 – On Enable


On Enable property is an Action List.

The actions in On Enable Action List, will be triggered when a disabled item’s variableName.setEnabled(true) method called. If you want to enable an item without triggering On Enable Action List just set the enabled field directly with variableName.enabled = true .

To add an action to an item you have to follow three easy steps :

  1. Select the item that you want to add an action
  2. Go to Window -> iGUI -> Actions and click on the desired action. You can see the action added to the item as a component in inspector
  3. Drag the action component in inspector view and drop it over the desired Action List

You can easily configure actions from inspector view. Also you can add more then one action to the Action List.