Post by Admin on Jul 16, 2016 4:29:04 GMT
Fabien Nouaillat @aenyhm Sep 20 2015 05:13
Hi,
First of all, I would like to congratulate you guys for the amazing job you've done with Entitas. I'm working for a year with Unity, but I didn't find a good way to structure my code. I've already heard about ECS and when I watched your presentation, I knew it was what I was looking for.
The game I am working on is a quiz. I don't know if Entitas fits to this kind of game: it has several scenes and using 99,9% of Unity UI.
I wonder how to use Entitas with multiple scenes: I was thinking of putting the GameController on the first scene and apply DontDestroyOnLoad on it, but all the systems will be running even on the scenes where they don't have to be.
Moreover, how can I handle UI Buttons action? Currently I often use the onClick property, but it might be in a system in my opinion. Maybe I can add a Controller script on a button and create an entity with a component made for this button, but I will have to do that on every buttons...
Thanks in advance
Hi,
First of all, I would like to congratulate you guys for the amazing job you've done with Entitas. I'm working for a year with Unity, but I didn't find a good way to structure my code. I've already heard about ECS and when I watched your presentation, I knew it was what I was looking for.
The game I am working on is a quiz. I don't know if Entitas fits to this kind of game: it has several scenes and using 99,9% of Unity UI.
I wonder how to use Entitas with multiple scenes: I was thinking of putting the GameController on the first scene and apply DontDestroyOnLoad on it, but all the systems will be running even on the scenes where they don't have to be.
Moreover, how can I handle UI Buttons action? Currently I often use the onClick property, but it might be in a system in my opinion. Maybe I can add a Controller script on a button and create an entity with a component made for this button, but I will have to do that on every buttons...
Thanks in advance