using System.Collections; using System.Collections.Generic; using UnityEngine; public class rotatoryGear : MonoBehaviour { public bool rotationEnabled; public void setRotationEnabledState (bool state) { rotationEnabled = state; } }