An easy to use Unity 3D library for creating illustrated Interactive Fiction games and more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1.1 KiB

UI event handlers

[TOC]

Button Clicked

The block will execute when the user clicks on the target UI button object.

Defined in Fungus.ButtonClicked

Property Type Description
Target Button UnityEngine.UI.Button The UI Button that the user can click on

End Edit

The block will execute when the user finishes editing the text in the input field.

Defined in Fungus.EndEdit

Property Type Description
Target Input Field UnityEngine.UI.InputField The UI Input Field that the user can enter text into

Toggle Changed

The block will execute when the state of the target UI toggle object changes. The state of the toggle is stored in the Toggle State boolean variable.

Defined in Fungus.ToggleChanged

Property Type Description
Target Toggle UnityEngine.UI.Toggle The block will execute when the state of the target UI toggle object changes.
Toggle State Fungus.BooleanVariable The new state of the UI toggle object is stored in this boolean variable.