Click or drag to resize

CanvasElement Class

A canvas UI element.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          RavingBots.MagicGestures.UI.ElementsUiElement
            RavingBots.MagicGestures.UI.ElementsCanvasElement
              RavingBots.MagicGestures.UI.ElementsLabel
              RavingBots.MagicGestures.UI.ElementsPicture

Namespace:  RavingBots.MagicGestures.UI.Elements
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public abstract class CanvasElement : UiElement

The CanvasElement type exposes the following members.

Constructors
  NameDescription
Protected methodCanvasElement
Initializes a new instance of the CanvasElement class
Top
Methods
  NameDescription
Protected methodAwake
Save the initial state.
Protected methodSetHoverProgress
Called when the hover animation progress changes.
(Overrides UiElementSetHoverProgress(Single).)
Top
Fields
  NameDescription
Private field_scale
The current scale of the element.
Public fieldHoverScale
The target scale when the canvas is pointed at.
Top
See Also