C# Class PotionInventory, chrawl

Inheritance: MonoBehaviour
Datei anzeigen Open project: PentaHelix/chrawl Class Usage Examples

Public Properties

Property Type Description
potions List
potionsVisible bool

Public Methods

Method Description
AddPotion ( GameObject go ) : int
AddPotion ( Potion, potion ) : int
DropPotion ( int i ) : void
RearrangePotions ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
clampSelected ( ) : void

Method Details

AddPotion() public method

public AddPotion ( GameObject go ) : int
go GameObject
return int

AddPotion() public method

public AddPotion ( Potion, potion ) : int
potion Potion,
return int

DropPotion() public method

public DropPotion ( int i ) : void
i int
return void

RearrangePotions() public method

public RearrangePotions ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

potions public_oe property

public List potions
return List

potionsVisible public_oe property

public bool potionsVisible
return bool