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; | |
public class Question7 : ScriptableObject | |
{ | |
} |
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 UnityEditor; | |
using UnityEngine; | |
public class Qustion7Editor | |
{ | |
[MenuItem("Question7/Create")] | |
static void CreateAsset() | |
{ | |
Question7 question7 = ScriptableObject.CreateInstance<Question7>(); | |
AssetDatabase.CreateAsset(question7, "Assets/Question7/Question7.asset"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment