Created
November 21, 2018 18:09
-
-
Save sasanon/fc10982aeffbf3748b893b34a1bdbf50 to your computer and use it in GitHub Desktop.
DataStage
This file contains 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; | |
using System.Collections; | |
[CreateAssetMenu(menuName = "Stage Data")] | |
public class DataStage : ScriptableObject { | |
public DataCharacter[] characters; | |
public DataItem[] items; | |
} | |
[System.Serializable] | |
public class DataCharacter { | |
public string name; | |
public Vector3 localPosition; | |
public Quaternion localRotation; | |
public Vector3 localScale; | |
} | |
[System.Serializable] | |
public class DataItem { | |
public string name; | |
public Vector3 localPosition; | |
public Quaternion localRotation; | |
public Vector3 localScale; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment