Advertisement
Cassimus

Weel script

Sep 17th, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public class WheelScript : MonoBehaviour
  2. {
  3. [SerializeField] private WheelCollider wheelCollider;
  4. [SerializeField] private GameObject wheelBodies;
  5. [SerializeField] private bool frontWheel;
  6.  
  7. public WheelCollider GetWheelCollider() => wheelCollider;
  8. public GameObject GetWheelBodies() => wheelBodies;
  9. public bool IsFrontWheel () => frontWheel
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement