C# Class ItemCollector, RPGQuest

Inheritance: MonoBehaviour
Afficher le fichier Open project: hughrogers/RPGQuest Class Usage Examples

Méthodes publiques

Свойство Type Description
distance float
isMoney bool
itemDropType ItemDropType
itemID int
itemNumber int
layerMask LayerMask
localSpace bool
offset Vector3
onGround bool
rotationOffset Vector3
spawnPrefab bool

Méthodes publiques

Méthode 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

Méthode Description
CollectionFinished2 ( bool ok ) : IEnumerator

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

CollectItem() public méthode

public CollectItem ( ) : void
Résultat void

CollectionFinished() public méthode

public CollectionFinished ( bool ok ) : void
ok bool
Résultat void

DropInteract() public méthode

public DropInteract ( ChoiceContent, drop ) : bool
drop ChoiceContent,
Résultat bool

Interact() public méthode

public Interact ( ) : bool
Résultat bool

OnDrawGizmos() public méthode

public OnDrawGizmos ( ) : void
Résultat void

OnMouseUp() public méthode

public OnMouseUp ( ) : void
Résultat void

OnTriggerEnter() public méthode

public OnTriggerEnter ( Collider other ) : void
other Collider
Résultat void

OnTriggerExit() public méthode

public OnTriggerExit ( Collider other ) : void
other Collider
Résultat void

SetDropInfo() public méthode

public SetDropInfo ( DropInfo, info ) : void
info DropInfo,
Résultat void

SetOnGround() public méthode

public SetOnGround ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

TouchInteract() public méthode

public TouchInteract ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

distance public_oe property

public float distance
Résultat float

isMoney public_oe property

public bool isMoney
Résultat bool

itemDropType public_oe property

public ItemDropType itemDropType
Résultat ItemDropType

itemID public_oe property

public int itemID
Résultat int

itemNumber public_oe property

public int itemNumber
Résultat int

layerMask public_oe property

public LayerMask layerMask
Résultat LayerMask

localSpace public_oe property

public bool localSpace
Résultat bool

offset public_oe property

public Vector3 offset
Résultat Vector3

onGround public_oe property

public bool onGround
Résultat bool

rotationOffset public_oe property

public Vector3 rotationOffset
Résultat Vector3

spawnPrefab public_oe property

public bool spawnPrefab
Résultat bool