Click or drag to resize
HighlightSpriteAlpha Class
Highlights a Unity 2D sprite by fading it in and out.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          Slash.Unity.Common.VisualHighlightSpriteAlpha

Namespace: Slash.Unity.Common.Visual
Assembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax
public class HighlightSpriteAlpha : MonoBehaviour

The HighlightSpriteAlpha type exposes the following members.

Constructors
  NameDescription
Public methodHighlightSpriteAlpha
Initializes a new instance of the HighlightSpriteAlpha class
Top
Methods
  NameDescription
Public methodStartHighlight
Starts highlighting the target sprite by fading it in and out.
Public methodStopHighlight
Stops highlighting the target sprite by fading it in and stopping fading.
Top
Fields
  NameDescription
Public fieldAlphaPerSecond
Alpha increase or decrease per second.
Public fieldMinAlpha
Minimum alpha value.
Public fieldTarget
Sprite to change the alpha value of.
Top
See Also