Method | Description | |
---|---|---|
Deselect ( ) : void | ||
DisableInput ( ) : void | ||
EnableInput ( ) : void | ||
Pickup ( |
Method | Description | |
---|---|---|
Awake ( ) : void |
Awake retrieves visualEffects child object reference and disables it.
|
|
Select ( |
Selects the given gameObject. A selected gameObject is followed and highlighted by a visual effect, and has its statistics displayed on the UI.
|
|
Update ( ) : void |
Update checks for mouse clicks to in order to select and deselect gameObjects. Only does so when the mouse is not over a UI element.
|
public Pickup ( |
||
target | ||
return | void |