1
0

Rotatable.cs 317 B

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