using System; using UnityEngine; public enum RotateAxis { Up, Right, Forward } [Serializable] public struct Rotatable { public GameObject gameObject; public Transform rotateAround; public RotateAxis rotateAxis; }