void Start () { characterController = gameObject.GetComponent<CharacterController>(); timothyTransform = gameObject.GetComponent<Transform>(); timothySkinnedMeshRenderer = gameObject.GetComponentInChildren<SkinnedMeshRenderer>(); timothyMovement = Vector3.zero; groundDashDurationCopy = groundDashDuration; groundDashCoolDownDurationCopy = groundDashCoolDownDuration; timothyAnimation = gameObject.GetComponent<TimothyAnimation>(); maxJumpsCopy = maxJumps; slideDurationCopy = slideDuration; }
void Start() { characterController = gameObject.GetComponent<CharacterController>(); timothyMovement = Vector3.zero; dashDurationCopy = dashDuration; dashCoolDownDurationCopy = dashCoolDownDuration; timothyAnimation = gameObject.GetComponent<TimothyAnimation>(); }