Created
June 21, 2019 23:37
-
-
Save bfollington/a815f11bbf97e4449427601dd9201611 to your computer and use it in GitHub Desktop.
Room data serialization
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
namespace GridBased { | |
[CreateAssetMenu] | |
public class RoomData : ScriptableObject { | |
public GameObject ModelPrefab; | |
public Vector2 Dimensions; | |
public Vector2 Origin; | |
public TextAsset Layout; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment