Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        // text=GameObject.Find("Text").GetComponent<Text>();
        if (instance == null)
        {
            instance = this;
        }
        else
        {
            Destroy(gameObject);
        }

        boardManager          = GetComponent <BoardManagerCombat>();
        effectControlleur     = GetComponent <EffectControlleur>();
        inventaireControlleur = GetComponent <InventaireControlleur>();
        gestionAffichageSort  = new GestionAffichageSort();

        //initGame();
        loadSave();
        ChangeSceneService.instance.finChargement();
    }
Exemplo n.º 2
0
 void Start()
 {
     controleur = ControleurCombat.instance;
 }