예제 #1
0
    void OnGUI()
    {
        SGUI.DrawTexture(60, 60, 40, 40, Instrucciones);
        float size  = 6;
        float sizeb = 10;

        Back = new SGUI.SelfButton(90, 5, size, sizeb, BackT, 1.1f, 1.1f);
        Back.Draw();
    }
예제 #2
0
    void OnGUI()
    {
        SGUI.DrawTexture(0, 0, 100, 100, Background);
        float size  = 6;
        float sizeb = 10;

        Back = new SGUI.SelfButton(50, 70, size, sizeb, BackT, 1.1f, 1.1f);

        Back.Draw();
    }
예제 #3
0
    void OnGUI()
    {
        SGUI.DrawTexture(0, 0, 100, 100, Background2);

        float size = 15;

        Flecha = new SGUI.SelfButton(80, 80, size, size, FlechaT, 1.2f, 1.1f);



        Flecha.Draw();
    }
예제 #4
0
    void OnGUI()
    {
        SGUI.DrawTexture(0, 0, 100, 100, Background);

        float size  = 15;
        float sizeb = 13;

        Start   = new SGUI.SelfButton(10, 70, size, size, StartT, 1.1f, 1.1f);
        Explore = new SGUI.SelfButton(40, 72, size, sizeb, ExploreT, 1.1f, 1.1f);
        Options = new SGUI.SelfButton(70, 70, size, size, OptionsT, 1.1f, 1.1f);

        Start.Draw();
        Options.Draw();
        Explore.Draw();
    }
예제 #5
0
    void OnGUI()
    {
        SGUI.DrawTexture(0, 0, 100, 100, Background);

        float size  = 15;
        float sizeb = 10;

        float sized = 6;
        float sizee = 10;

        On   = new SGUI.SelfButton(42, 50, size, sizeb, OnT, 1.1f, 1.1f);
        Off  = new SGUI.SelfButton(42, 65, size, sizeb, OffT, 1.1f, 1.1f);
        Back = new SGUI.SelfButton(90, 80, sized, sizee, BackT, 1.1f, 1.1f);



        On.Draw();
        Off.Draw();
        Back.Draw();
    }