19 lines
362 B
C#
19 lines
362 B
C#
using UnityEngine;
|
|
using UnityEditor;
|
|
|
|
public static class SceneSize
|
|
{
|
|
|
|
[MenuItem("ProTool/ServerObstacle/SceneSize")]
|
|
public static void CreateSceneSizeObj()
|
|
{
|
|
CreateObj();
|
|
}
|
|
|
|
private static void CreateObj()
|
|
{
|
|
GameObject sceneSize = new GameObject("SceneSize");
|
|
sceneSize.AddComponent<SceneSizeObj>();
|
|
}
|
|
}
|