void Start() { movement = GetComponent <PlayerMovement>(); rotation = GetComponent <PlayerRotation>(); attacking = GetComponent <PlayerAttacking>(); boxCheck = GetComponent <PlayerBoxCheck>(); rb = GetComponent <Rigidbody>(); }
void Start() { boxCheck = GetComponent <PlayerBoxCheck>(); }