C# Class FloorItem

显示文件 Open project: BoolClub/ProjectCrusade Class Usage Examples

Public Properties

Property Type Description
IsNextToPlayer bool
Quantity IntRange,
TextBox TextBox,
itm ItemType,
timer float

Public Methods

Method Description
DestroyFloorItem ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
OnTriggerExit2D ( Collider2D other ) : void
Start ( ) : void
Update ( ) : void

Method Details

DestroyFloorItem() public method

public DestroyFloorItem ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

OnTriggerExit2D() public method

public OnTriggerExit2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

IsNextToPlayer public_oe property

Is next to the player or not
public bool IsNextToPlayer
return bool

Quantity public_oe property

The quantity of the item.
public IntRange, Quantity
return IntRange,

TextBox public_oe property

The textbox that displays what the user got.
public TextBox, TextBox
return TextBox,

itm public_oe property

The type of item.
public ItemType, itm
return ItemType,

timer public_oe property

The timer.
public float timer
return float