C# Class SplitItem, planet-survival

Inheritance: MonoBehaviour, IPointerDownHandler
Show file Open project: gjrfytn/planet-survival Class Usage Examples

Public Properties

Property Type Description
AcceptButton Button
CancelButton Button
InputField InputField,
Slider Slider,
Slot GameObject

Public Methods

Method Description
Accept ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
Cancel ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
Deactivate ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
Split ( AttachedItem, itemFromSlot ) : void
ValueToSplit ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void

Private Methods

Method Description
Awake ( ) : void

Method Details

Accept() public method

public Accept ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
itemFromSlot AttachedItem,
tempItem AttachedItem,
return void

Cancel() public method

public Cancel ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
itemFromSlot AttachedItem,
tempItem AttachedItem,
return void

Deactivate() public method

public Deactivate ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
itemFromSlot AttachedItem,
tempItem AttachedItem,
return void

Split() public method

public Split ( AttachedItem, itemFromSlot ) : void
itemFromSlot AttachedItem,
return void

ValueToSplit() public method

public ValueToSplit ( AttachedItem, itemFromSlot, AttachedItem, tempItem ) : void
itemFromSlot AttachedItem,
tempItem AttachedItem,
return void

Property Details

AcceptButton public property

public Button AcceptButton
return Button

CancelButton public property

public Button CancelButton
return Button

InputField public property

public InputField, InputField
return InputField,

Slider public property

public Slider, Slider
return Slider,

Slot public property

public GameObject Slot
return GameObject