MenuButton.cs 330 B

1234567891011121314
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEditor;
  5. namespace SC.Menu {
  6. public class MenuButton : MenuBase {
  7. [MenuItem("GameObject/SDK/SCButton", false, 200)]
  8. public static void createButton() {
  9. CreatePrefab("Prefabs/SCButton");
  10. }
  11. }
  12. }