void Start() { throwState = ThrowState.None; ikController = GetComponent <IKController>(); ikCatchController = GetComponent <IKCatchController>(); ikDeflectController = GetComponent <IKDeflectController>(); animator = GetComponent <Animator>(); }
void Start() { ikCatchController = GetComponent <IKCatchController>(); ikCatchController.setActive(true); ikDeflectController = GetComponent <IKDeflectController>(); ikDeflectController.setActive(true); animator = GetComponent <Animator>(); }
void Start() { ikCatchController = GetComponent <IKCatchController>(); ikCatchController.setActive(true); ikDeflectController = GetComponent <IKDeflectController>(); ikDeflectController.setActive(true); // Supply the bot with a new ball Vector3 ballPos = transform.position + transform.forward * 0.5f; ballPos.y += 1.5f; Instantiate(ballPrefab, ballPos, Quaternion.identity); }
void Start() { ikController = GetComponent <IKController>(); ikController.setIKActive(true, enabledIKGoals); ikCatchController = GetComponent <IKCatchController>(); ikCatchController.setActive(true); ikDeflectController = GetComponent <IKDeflectController>(); ikDeflectController.setActive(true); ikThrowController = GetComponent <IKThrowController>(); playerCameraController = GetComponent <PlayerCameraController>(); animator = GetComponent <Animator>(); }
void Start() { animator = GetComponent <Animator>(); ikCatchController = GetComponent <IKCatchController>(); }
void Start() { catchController = GetComponent <IKCatchController>(); catchController.setActive(true); }