private void Awake() { DontDestroyOnLoad(gameObject); _managers = new ListUnserializerTypeObject <AManagers>(); for (int i = 0; i < ManagersList.Count; ++i) { ManagersList[i].Init(); } _managers.Initialize(ManagersList, true); }
public override void Init() { _popupPanels = new ListUnserializerTypeObject <PopupPanelBase>(); _popupPanels.Initialize(_popupPanelsList, true); }