예제 #1
0
    internal static void InitWindow(ResourceEditWindow resEdit, string content, DslExpression.CalculatorValue obj, DslExpression.CalculatorValue item)
    {
        ResourceCommandWindow window = (ResourceCommandWindow)EditorWindow.GetWindow(typeof(ResourceCommandWindow));

        window.Init(resEdit, content, obj, item);
        window.Show();
    }
    internal static void InitWindow(ResourceEditWindow resEdit, string content, object obj, object item)
    {
        ResourceCommandWindow window = (ResourceCommandWindow)EditorWindow.GetWindow(typeof(ResourceCommandWindow));

        window.Init(resEdit, content, obj, item);
        window.Show();
    }