コード例 #1
0
    // Start is called before the first frame update
    void Start()
    {
        if (!gm)
        {
            gm = this;
        }
        estado = GameState.setup;

        Debug.Log("llamar");
        temporizador.Activar(5f);
        for (int i = 0; i <= 11; i++)
        {
            if (faja[i].childCount == 1)
            {
                Instantiate(partes[Random.Range(0, partes.Length)], faja[i].position, faja[i].rotation, faja[i]);
            }
        }
    }