创建房间

This commit is contained in:
lishuo committed 2022-04-24 18:53:29 +08:00
1 parent 597929cd32
commit de8dd933e8
8 files changed
+12757 -770

No files matched your search

+7
View File
@@ -19,6 +19,13 @@ public class ExportAssets : Editor
GameObject game = Instantiate(prefab, Selection.activeTransform);
}
[MenuItem("GameObject/UI/PFUIInputField", false, 100)]
static void CreatePFUIInputFieldCommand()
{
GameObject prefab = Resources.Load<GameObject>("UI/Control/PFUIInputField");
GameObject game = Instantiate(prefab, Selection.activeTransform);
}
// Start is called before the first frame update
void Start()
{