Created
November 12, 2018 06:02
-
-
Save ikoan310/815d993440f9353cc8a17a2d69b5da57 to your computer and use it in GitHub Desktop.
Scriptable Object Example
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
[CreateAssetMenu()] | |
public class Example : ScriptableObject | |
{ | |
public int hoge; | |
public string hoge2; | |
public ExampleSturct moge; | |
} | |
[Serializable] | |
public struct ExampleSturct | |
{ | |
public int num; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment