protected override void Awake() { base.Awake(); groundedChecker = transform.GetComponentInChildren <PlayerGroundedChecker>(); pidSpeed = GetComponent <PIDController_Vector3>(); rb.maxAngularVelocity = maxRollingAngularSpeed; physicsMaterial = GetComponent <Collider>().material; }
private void Awake() { rb = GetComponent <Rigidbody>(); //playerIronSteel = GetComponent<AllomanticIronSteel>(); groundedChecker = GetComponentInChildren <PlayerGroundedChecker>(); }