コード例 #1
0
    public override void OnInspectorGUI()
    {
        DrawDefaultInspector();

        OrderScript orderScript = (OrderScript)target;

        if (GUILayout.Button("Order All Selected"))
        {
            orderScript.SelectGameObjects();
        }
    }