예제 #1
0
    public override void OnInspectorGUI()
    {
        GUILayout.Space(8);

        if (GUILayout.Button("Clear Pooling System"))
        {
            targetPoolManager.Clear();
        }
        GUILayout.Space(8);

        if (GUILayout.Button("Assign Pool Values with Library"))
        {
            targetPoolManager.AssignPoolValuesWithLibrary();
        }
        GUILayout.Space(8);

        if (GUILayout.Button("Generate Pool Objects"))
        {
            targetPoolManager.GeneratePoolsObjects();
        }

        GUILayout.Space(8);

        base.OnInspectorGUI();
    }