Click or drag to resize

SceneButton Class

Button that loads a specific scene.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Kit.UI.ButtonsButtonBehaviour
            Kit.UI.ButtonsSceneButton

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

The SceneButton type exposes the following members.

Fields
  NameDescription
Public fieldCompleted
Stuff to do when the loading and fading (if applicable) completes.
Public fieldFadeColor
The fading color to use.
Public fieldFadeMode
The fading method to use.
Public fieldFadeTime
The fade duration.
Public fieldLoadCompleted
Stuff to do when the loading completes.
Public fieldLoadProgressed
Stuff to do when the loading progresses.
Public fieldReload
Whether to just reload the current scene.
Public fieldScene
Reference to the scene.
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