C# Class Supermarket.Hand

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: Clarksj4/Theme-Supermarket-Tycoon-World Class Usage Examples

Public Methods

Method Description
Drop ( ) : void
Pickup ( IPickupable target ) : void
Pickup ( IPickupable held, System.Action OnDrop ) : void
Pickup ( IPickupable held, System.Action OnDrop, System.Action OnCancel ) : void

Private Methods

Method Description
Awake ( ) : void
Clear ( ) : void
Disable ( ) : void
Enable ( ) : void
MoveToCursor ( ) : void
Start ( ) : void
Update ( ) : void

Method Details

Drop() public method

public Drop ( ) : void
return void

Pickup() public method

public Pickup ( IPickupable target ) : void
target IPickupable
return void

Pickup() public method

public Pickup ( IPickupable held, System.Action OnDrop ) : void
held IPickupable
OnDrop System.Action
return void

Pickup() public method

public Pickup ( IPickupable held, System.Action OnDrop, System.Action OnCancel ) : void
held IPickupable
OnDrop System.Action
OnCancel System.Action
return void