// Start is called before the first frame update void Start() { if (instance == null) { instance = this; } else { Destroy(gameObject); } effectHolder = new GameObject("Effect").transform; }
// 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(); }