1
0

Rotatable.cs 301 B

123456789101112131415161718
  1. using System;
  2. using UnityEngine;
  3. namespace Animation
  4. {
  5. public enum RotateAxis
  6. {
  7. Up, Right, Forward
  8. }
  9. [Serializable]
  10. public struct Rotatable
  11. {
  12. public GameObject gameObject;
  13. public Transform rotateAround;
  14. public RotateAxis rotateAxis;
  15. }
  16. }