Limit hotbar
This commit is contained in:
parent
83ffb3189b
commit
9f454b2505
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ public class ChoosableHandler : SeedpacketHandler, ISeedpacketPress
|
|||
|
||||
public void Pressed()
|
||||
{
|
||||
if(LevelGUIElements.Instance.SeedpacketsHotbar.GetChildCount() > 9) return;
|
||||
_owner.disablePacket = true;
|
||||
|
||||
var hotbarSeedpacket = Seedpacket.Prefab.Instantiate<Seedpacket>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue