RaposoTKD

Untitled

Mar 4th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.36 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5. [CreateAssetMenu(menuName="Custom/MapData")]
  6. public class MapData : ScriptableObject {
  7.     [System.Serializable]
  8.     public struct Obstacle {
  9.         public Vector2 position;
  10.         public Sprite sprite;
  11.         public bool mirrored;
  12.     }
  13.     public List<Obstacle> obstacles;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment