Advertisement
Guest User

Untitled

a guest
Feb 15th, 2023
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. [Serializable]
  2. public class RectData
  3. {
  4. [Serializable]
  5. public enum RectTypes
  6. {
  7. Hit = 0,
  8. Hurt,
  9. Grab
  10. }
  11. public RectTypes RectType;
  12. public Rect rect;
  13. // whatever identifies your frame
  14. public int frameNumber;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement