Valerien Not everything is set up to where it's evaluated on every tick. Granted I could of added the section at the end that turns off that group, but was posting the information within a group targeting the code that I was having an issue with since had already narrowed down the issue. Yes I do have a few things that do call on every tick atm in a main section, but that's just group activity checking mainly turning some other things off at the moment. In Debug Layout atm highest I've gotten for CPU usage using popout mode for Inspect and Profile is 3-4% CPU Usage and that's on Layer Start up While going through the attacks and AI side peak has been 1% CPU Usage.
Yes I am aware that on low end devices performance could become an issue. I do have a friend that has an IPad that I send her an uploaded version to test the touch controls if they are working as well. And have her tell me if she's having any lag issues with the touch. Since on my desktop and laptop I can only test the Gamepad, Mouse, and Keyboard controls. On a mobile device like a cellphone could be even bigger issue than the ipad.
Things that I have added since last time I checked this post is the Enemy AI's turn. Current battle set up is a 6v6 for testing purposes. Left side is player controlled you can choose between Attack, Magic, or Special, After all player characters have gone the right side which is Enemy AI controlled will then go through their turns of "For Each(ordered) based on the Enemy.ID" and do their sequence of them choosing Attack, Magic, or Special then play the function for the one that the AI choose. After all the Enemies have had their turn the system turns off the enemies side and reactivates the player side starting with the first player and then goes back through their turn. Going back and forth this way.
Debug Menu:
[attachment=0:1u5finjd][/attachment:1u5finjd]