Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Serializable]
- public class RectData
- {
- [Serializable]
- public enum RectTypes
- {
- Hit = 0,
- Hurt,
- Grab
- }
- public RectTypes RectType;
- public Rect rect;
- // whatever identifies your frame
- public int frameNumber;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement