コード例 #1
0
 private void Start()
 {
     gm = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
     texto01.SetText("You have dethroned " + PlayerPrefs.GetString("potato").ToString() + ".");
     nombre.characterLimit = 10;
     cambiarEscena         = GameObject.Find("Canvas").GetComponent <sceneChangerClick>();
 }
コード例 #2
0
ファイル: Perder.cs プロジェクト: KaJoseh/PaMery
 void Start()
 {
     gm         = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
     gm.Jugando = 0;
     st         = GameObject.FindGameObjectWithTag("seteador").GetComponent <SetearPuntaje>();
     sn         = GameObject.FindGameObjectWithTag("seteador").GetComponent <SetearNombre>();
     cambiador  = GameObject.FindGameObjectWithTag("canvas").GetComponent <sceneChangerClick>();
     boton_back = GameObject.FindGameObjectWithTag("boton");
 }
コード例 #3
0
ファイル: CambiarEscena.cs プロジェクト: KaJoseh/PaMery
    //public GameObject pressSpace;

    // Start is called before the first frame update
    void Start()
    {
        cambiador = GetComponent <sceneChangerClick>();
    }
コード例 #4
0
ファイル: CambiarEscenaGM.cs プロジェクト: KaJoseh/PaMery
    //public GameObject pressSpace;

    // Start is called before the first frame update
    void Start()
    {
        gm        = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
        cambiador = GetComponent <sceneChangerClick>();
    }