public MeshRenderer lGauntletR; //Left Gauntlet void Start() { charCont = GetComponent <CharacterController>(); anim = GetComponent <Animator>(); //Finds the animator //Subweapon Variables dodge = GetComponent <pDodge>(); shield = GetComponent <pShield>(); hammer = GetComponent <pHammer>(); gauntlets = GetComponent <pGauntlets>(); }
void Start() { //Get component variables charCont = GetComponent <CharacterController>(); cameraT = Camera.main.transform; anim = GetComponent <Animator>(); //Finds the animator //sound = GameObject.Find("SoundManager").GetComponent<SoundManager>(); //Subweapon Variables dodge = GetComponent <pDodge>(); shield = GetComponent <pShield>(); hammer = GetComponent <pHammer>(); gauntlets = GetComponent <pGauntlets>(); equipDodge(); }