void OnEnable() { // Reset default values canDefend = true; canAttack = true; transform.localPosition = holdPosition; weaponControls.Enable(); }
void OnEnable() { if (weaponControls != null) { weaponControls.Enable(); } canShoot = true; handGunSF.enabled = true; }
void OnEnable() { weaponControls.Enable(); canSwing = true; swungOnce = false; spoken = false; hitSound.enabled = true; }
void OnEnable() { beenThrown = false; ready = true; if (weaponControls == null) { return; } weaponControls.Enable(); }
void OnEnable() { weaponControls.Enable(); // Brings boomerang back to the player when enabled isThrown = false; movingForward = false; transform.position = playerWeaponHold.position; transform.rotation = originalRotation; hitSF.enabled = true; }
void OnEnable() { weaponControls.Enable(); canShoot = true; pinkRayLineSpoken = false; }