Beispiel #1
0
        public override void OnInspectorGUI()
        {
            ShopListCreator shopBall = (ShopListCreator)target;

            DrawDefaultInspector();

            if (GUILayout.Button("Generate"))
            {
                shopBall.Generate();
            }
        }
Beispiel #2
0
 private void Awake()
 {
     Instance = GetComponent <ShopListCreator>();
 }