Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class WheelScript : MonoBehaviour
- {
- [SerializeField] private WheelCollider wheelCollider;
- [SerializeField] private GameObject wheelBodies;
- [SerializeField] private bool frontWheel;
- public WheelCollider GetWheelCollider() => wheelCollider;
- public GameObject GetWheelBodies() => wheelBodies;
- public bool IsFrontWheel () => frontWheel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement