public void Init() { var obj = new GameObject(); _decks = obj.AddComponent <PlayerDeckFactory>(); _decks.ContainerPrefabs = new GameObject().AddComponent <CardContainer>(); _decks.Init(); }
private void Start() { MainGroup.Init(_setting); CardDesc.Init(); DeckFactory.Init(); BoxFactory.Init(); SkillFactory.Init(); this.MissionBookController.LoadData(_setting.MissionSetting); Camera.backgroundColor = Color.black; }