Click or drag to resize

Wizard Class

An in-game wizard where each screen is a Window (this is so each screen can have their own animations, events and data if desired).
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UIWindow
            Kit.UIWizard

Namespace:  Kit.UI
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0
Syntax
C#
public class Wizard : Window
Request Example View Source

The Wizard type exposes the following members.

Properties
  NameDescription
Public propertyActive
Returns the active screen.
Public propertyCount
Returns the total number of screens.
Public propertyIndex
Index of the active screen.
Public propertyItem
Returns the screen at particular index.
Top
Methods
  NameDescription
Public methodGoTo(Int32)
Move the wizard to a specific step.
Public methodGoTo(Window)
Move the wizard to a specific screen.
Public methodIndexOf
Returns the index of a particular screen.
Public methodIsValid
Returns whether a particular index is valid.
Public methodNext
Move the wizard forward.
Public methodPrevious
Move the wizard backward.
Top
Fields
  NameDescription
Public fieldChanged
Stuff to do when the active screen has changed.
Public fieldChanging
Stuff to do when changing screens.
Public fieldDefaultScreen
Index of the initial screen.
Public fieldNextHideAnimation
The animation state to play for hiding the next screen.
Public fieldNextShowAnimation
The animation state to play for showing the next screen.
Public fieldPreviousHideAnimation
The animation state to play for hiding the previous screen.
Public fieldPreviousShowAnimation
The animation state to play for showing the previous screen.
Public fieldScreens
List of all Windows to use as wizard screens. Order is taken into account.
Top
Extension Methods
  NameDescription
Public Extension MethodDestroy
Destroy the object.
(Defined by UnityObjectExtensions.)
Public Extension MethodDisable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodEnable
Set the enabled property to .
(Defined by BehaviourExtensions.)
Public Extension MethodGetBounds

Returns the bounds of the Component.

(Defined by ComponentExtensions.)
Public Extension MethodIsPrefab
Returns whether the Component is a part of a prefab.
(Defined by ComponentExtensions.)
Top
See Also