void Start() { character = GetComponent <Rigidbody>(); aimWeapon = GetComponent <AimWeapon>(); rangedCombatGhost = GetComponent <RangedCombatGhost>(); rangedCombat = GetComponent <RangedCombat>(); dashPossible = true; }
void Start() { character = GetComponent <Rigidbody>(); aimWeapon = GetComponent <AimWeapon>(); rangedCombatGhost = GetComponent <RangedCombatGhost>(); rangedCombat = GetComponent <RangedCombat>(); cam = Camera.main.transform; dashPossible = true; }
private void Awake() { charMovement = GetComponent <CharMovement>(); meleeCombat = GetComponent <MeleeCombat>(); rangedCombat = GetComponent <RangedCombat>(); rangedCombatGhost = GetComponent <RangedCombatGhost>(); aimWeapon = GetComponent <AimWeapon>(); throwWeapon = GetComponent <ThrowWeapon>(); playerCollider = GetComponent <CapsuleCollider>(); anim = GetComponent <Animator>(); }
private void Start() { meleeCombat = GetComponent <MeleeCombat>(); rangedCombat = GetComponent <RangedCombat>(); aimWeapon = GetComponent <AimWeapon>(); throwWeapon = GetComponent <ThrowWeapon>(); rangedCombatGhost = GetComponent <RangedCombatGhost>(); meleeCombat.enabled = false; rangedCombat.enabled = false; aimWeapon.enabled = false; throwWeapon.enabled = false; rangedCombatGhost.enabled = false; kusarigama.SetActive(false); kusarigamaGhost.SetActive(false); GetWeaponState(); }