Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- [CreateAssetMenu(menuName="Custom/MapData")]
- public class MapData : ScriptableObject {
- [System.Serializable]
- public struct Obstacle {
- public Vector2 position;
- public Sprite sprite;
- public bool mirrored;
- }
- public List<Obstacle> obstacles;
- }
Advertisement
Add Comment
Please, Sign In to add comment