void Awake() { rb = GetComponent <Rigidbody>(); anim = GetComponentInChildren <Animator>(); playerGroundCheck = GetComponent <OldPlayerGroundCheck>(); playerDoubleJump = GetComponent <OldPlayerDoubleJump>(); }
void Awake() { playerMove = GetComponent <OldPlayerMove>(); playerJump = GetComponent <OldPlayerJump>(); playerDoubleJump = GetComponent <OldPlayerDoubleJump>(); //playerSwim = GetComponent<OldPlayerSwim>(); //playerSwimBoost = GetComponent<OldPlayerSwimBoost>(); playerInteract = GetComponent <OldPlayerInteract>(); circleSlam = GetComponent <OldCircleSlam>(); }
void Awake() { anim = GetComponentInParent <OldPlayerMove>().GetComponentInChildren <Animator>(); playerDoubleJump = GetComponentInParent <OldPlayerDoubleJump>(); }