Example #1
0
    static void Init()
    {
        if (window != null)
        {
            window.Close();
        }

        window     = (RageWindow)EditorWindow.GetWindow(typeof(RageWindow));
        window.net = new ThreadedNet();
        window.trackHeaders.Add("Content-Type", "application/json");

        window.initUrls();
        window.getSavedAuthToken();
        if (window.userkey != "")
        {
            window.getGames();
        }
    }
Example #2
0
    static void Init()
    {
        if (window != null)
            window.Close ();

        window = (RageWindow) EditorWindow.GetWindow(typeof(RageWindow));
        window.net = new ThreadedNet ();
        window.trackHeaders.Add ("Content-Type", "application/json");

        window.initUrls ();
        window.getSavedAuthToken ();
        if (window.userkey != "") {
            window.getGames ();
        }
    }