Class SwappableSprite
- Namespace
- Fallencake.UI
- Assembly
- Fallencake.UI.dll
[Serializable]
public class SwappableSprite : SelectableTransitionData<SelectionSpriteState, Sprite>, ITargetGraphic
- Inheritance
-
objectSwappableSprite
- Implements
- Inherited Members
Fields
SpriteStates
public SelectionSpriteState SpriteStates
Field Value
Properties
Image
Convenience function that converts the referenced Graphic to a Image, if possible.
public Image Image { get; set; }
Property Value
- Image
SelectableStates
public override ISelectableStates<Sprite> SelectableStates { get; }
Property Value
- ISelectableStates<Sprite>
TargetGraphic
public Graphic TargetGraphic { get; set; }
Property Value
- Graphic
Events
OnSetProperty
public event Action OnSetProperty
Event Type
- Action