private void Awake() { m_rb = GetComponent <Rigidbody>(); audioSource = GetComponent <AudioSource>(); m_collider = GetComponent <Collider>(); m_ropeManager = GetComponentInParent <RopeProjectileManager>(); }
private void Awake() { ropeProjectileManager = GetComponentInChildren <RopeProjectileManager>(); physicsHand = GetComponentInParent <PhysicsHand>(); audioSource = GetComponent <AudioSource>(); swordHealth = swordMaxHealth; elapsedSwordIFrames = swordIFrames; SetSwordEnabled(true); }