public void Init() { var obj = new GameObject(); _deck = obj.AddComponent <CardContainer>(); _deck.Init(); }
public void Init() { _container = new GameObject().AddComponent <CardContainer>(); _container.Init(); var factory = new GameObject().AddComponent <PlayerSkillFactory>(); factory.Init(); factory.ContainerPrefabs = _container; _systems.Add(new SkillCardContainerCreatingSystem(_contexts, factory)); }
public void Init() { _systems.Add(new LocalSkillCardContainerRenderingSystem(_contexts)); _container = new GameObject().AddComponent <CardContainer>(); _container.Init(); }