C# Class FloorItem

Afficher le fichier Open project: BoolClub/ProjectCrusade Class Usage Examples

Méthodes publiques

Свойство Type Description
IsNextToPlayer bool
Quantity IntRange,
TextBox TextBox,
itm ItemType,
timer float

Méthodes publiques

Méthode Description
DestroyFloorItem ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
OnTriggerExit2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

Method Details

DestroyFloorItem() public méthode

public DestroyFloorItem ( ) : void
Résultat void

OnTriggerEnter2D() public méthode

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
Résultat void

OnTriggerExit2D() public méthode

public OnTriggerExit2D ( Collider2D other ) : void
other UnityEngine.Collider2D
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

IsNextToPlayer public_oe property

Is next to the player or not
public bool IsNextToPlayer
Résultat bool

Quantity public_oe property

The quantity of the item.
public IntRange, Quantity
Résultat IntRange,

TextBox public_oe property

The textbox that displays what the user got.
public TextBox, TextBox
Résultat TextBox,

itm public_oe property

The type of item.
public ItemType, itm
Résultat ItemType,

timer public_oe property

The timer.
public float timer
Résultat float