C# Class DropMe, Holdout

Inheritance: MonoBehaviour, IDropHandler, IPointerEnterHandler, IPointerExitHandler
Exibir arquivo Open project: MaddJhin/Holdout Class Usage Examples

Public Properties

Property Type Description
containerImage Image
highlightColor Color
receivingImage Image
slotIndex int

Public Methods

Method Description
OnDrop ( PointerEventData data ) : void
OnEnable ( ) : void
OnPointerEnter ( PointerEventData data ) : void
OnPointerExit ( PointerEventData data ) : void

Private Methods

Method Description
GetDropIndex ( PointerEventData data ) : int
GetDropSprite ( PointerEventData data ) : Sprite

Method Details

OnDrop() public method

public OnDrop ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnPointerEnter() public method

public OnPointerEnter ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

OnPointerExit() public method

public OnPointerExit ( PointerEventData data ) : void
data UnityEngine.EventSystems.PointerEventData
return void

Property Details

containerImage public_oe property

public Image containerImage
return Image

highlightColor public_oe property

public Color highlightColor
return Color

receivingImage public_oe property

public Image receivingImage
return Image

slotIndex public_oe property

public int slotIndex
return int