void Awake() { playerMove = GetComponent <OldPlayerMove>(); playerJump = GetComponent <OldPlayerJump>(); //playerSwim = GetComponent<OldPlayerSwim>(); //playerSwimBoost = GetComponent<OldPlayerSwimBoost>(); playerInteract = GetComponent <OldPlayerInteract>(); squareWallJump = GetComponent <OldSquareWallJump>(); squareDash = GetComponent <OldSquareDash>(); }
void Awake() { rb = GetComponent <Rigidbody>(); anim = GetComponentInChildren <Animator>(); squareWallJump = GetComponent <OldSquareWallJump>(); }