C# Class ItemCollector, RPGQuest

Inheritance: MonoBehaviour
显示文件 Open project: hughrogers/RPGQuest Class Usage Examples

Public Properties

Property Type Description
distance float
isMoney bool
itemDropType ItemDropType
itemID int
itemNumber int
layerMask LayerMask
localSpace bool
offset Vector3
onGround bool
rotationOffset Vector3
spawnPrefab bool

Public Methods

Method Description
Awake ( ) : void
CollectItem ( ) : void
CollectionFinished ( bool ok ) : void
DropInteract ( ChoiceContent, drop ) : bool
Interact ( ) : bool
OnDrawGizmos ( ) : void
OnMouseUp ( ) : void
OnTriggerEnter ( Collider other ) : void
OnTriggerExit ( Collider other ) : void
SetDropInfo ( DropInfo, info ) : void
SetOnGround ( ) : void
Start ( ) : void
TouchInteract ( ) : void
Update ( ) : void

Private Methods

Method Description
CollectionFinished2 ( bool ok ) : IEnumerator

Method Details

Awake() public method

public Awake ( ) : void
return void

CollectItem() public method

public CollectItem ( ) : void
return void

CollectionFinished() public method

public CollectionFinished ( bool ok ) : void
ok bool
return void

DropInteract() public method

public DropInteract ( ChoiceContent, drop ) : bool
drop ChoiceContent,
return bool

Interact() public method

public Interact ( ) : bool
return bool

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

OnMouseUp() public method

public OnMouseUp ( ) : void
return void

OnTriggerEnter() public method

public OnTriggerEnter ( Collider other ) : void
other Collider
return void

OnTriggerExit() public method

public OnTriggerExit ( Collider other ) : void
other Collider
return void

SetDropInfo() public method

public SetDropInfo ( DropInfo, info ) : void
info DropInfo,
return void

SetOnGround() public method

public SetOnGround ( ) : void
return void

Start() public method

public Start ( ) : void
return void

TouchInteract() public method

public TouchInteract ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

distance public_oe property

public float distance
return float

isMoney public_oe property

public bool isMoney
return bool

itemDropType public_oe property

public ItemDropType itemDropType
return ItemDropType

itemID public_oe property

public int itemID
return int

itemNumber public_oe property

public int itemNumber
return int

layerMask public_oe property

public LayerMask layerMask
return LayerMask

localSpace public_oe property

public bool localSpace
return bool

offset public_oe property

public Vector3 offset
return Vector3

onGround public_oe property

public bool onGround
return bool

rotationOffset public_oe property

public Vector3 rotationOffset
return Vector3

spawnPrefab public_oe property

public bool spawnPrefab
return bool