States won’t work in object classes… Any idea?
Then bifurcation in the tick event, and counters*deltatime to simulate sleep(). Like in the old school.
I made own states system with just an enum… so i guess you can consider that solved.
Can you provide a basic example of states not working in a class extending Object?
For example, can you declare a state. Set it to the “auto” state, and then call GetStateName() on that object?
Ok I could do that, Well that was an idea I had that maybe could trigger em to work, I will try…
Context
I am making buttons so they are objects since it makes no sense that actors have their own components they are just 2d buttons…
What I am trying to achieve
Buttons with state clicked and such to make life easier…