private void setupLoseUI() { _swlUI = LoseMenuContainer.GetComponent(typeof(UICanvasManager)) as UICanvasManager; _swlUI.setGameAdmin(this); _swlUI.setContaining(LoseMenuContainer); _swlUI.setRepairActionsRef(_inputAdmin.getRepairActions()); }
private void Awake() { if (instance != null) { Debug.LogWarning("Il y a plus d'une instance de UICanvasManager dans la scène"); return; } instance = this; }
void Awake() { GlobalAccess = this; }
private void Awake() { UICanvasManager.GlobalAccess = this; }