Beispiel #1
0
    static void Init()
    {
        GamesparksConfiguration window = CreateInstance <GamesparksConfiguration>();

        window.position = new Rect(Screen.width / 2, Screen.height / 2, 250, 200);
        window.ShowPopup();
    }
    static void Init()
    {
        game_name = Application.productName;
        GamesparksConfiguration window = ScriptableObject.CreateInstance <GamesparksConfiguration>();

        window.position = new Rect(Screen.width / 2, Screen.height / 2, 250, 200);
        window.ShowPopup();
    }