Ejemplo n.º 1
0
    public static void Init()
    {
        var win = GetWindow<CurveEditorTools>();
        try
        {
            CurveEditorWindowWrapper.GetCurrentCurveEditor();
        }
        catch
        {
            win.Close();
 
        }
    }
Ejemplo n.º 2
0
    public static void Init()
    {
        var win = GetWindow <CurveEditorTools>();

        try
        {
            CurveEditorWindowWrapper.GetCurrentCurveEditor();
        }
        catch
        {
            Debug.Log("Could not get window");
            //win.Close();
        }
    }
    public static void Init()
    {
        var win = GetWindow <CurveEditorTools>();

        try
        {
            CurveEditorWindowWrapper.GetCurrentCurveEditor();
        }
        catch (Exception e)
        {
            win.Close();
            Debug.Log("error: " + e);
        }
    }