// Start is called before the first frame update void Start() { gameManager = GameObject.Find("GameManager").GetComponent <GameManager>(); playerState = GetComponent <PlayerState>(); playerCap = GetComponent <CapsuleCollider>(); playerAni = GetComponent <PlayerAniControl>(); }
void Start() { canFire = true; pStats = GetComponent <PlayerStats>(); pGUI = GetComponent <PlayerGui>(); pAni = GetComponent <PlayerAniControl>(); radius = GetComponentInChildren <Radius>(); // AddItem(OBJ); GameMaster.instance.pHand = this; }