Example #1
0
    public static void Init()
    {
        return;

        _courseTexture = Resources.Load <Texture>("Courses");
        _vk            = Resources.Load <Texture>("VK");
        _telegram      = Resources.Load <Texture>("Telega");
        _Insta         = Resources.Load <Texture>("Instagram");
        _YouTube       = Resources.Load <Texture>("YouTube");
        _titleStyle    = new GUIStyle()
        {
            padding   = new RectOffset(15, 15, 15, 15),
            fontSize  = 25,
            alignment = TextAnchor.MiddleCenter
        };
        CoursePromo window = (CoursePromo)GetWindow(typeof(CoursePromo));

        window.Show();
    }
Example #2
0
 static Startup()
 {
     CoursePromo.Init();
 }