void Start() { Collider = Player.GetComponent <PickupCollider>(); PlayerPhysics = Player.GetComponent <Rigidbody2D>(); if (isMobile) { Input.multiTouchEnabled = false; } }
private void SetCarryText(PickupCollider x) { if (x != null) { carryText.text = "Carrying: " + x.itemName; } else { carryText.text = ""; } }