it will go 1 slide and won’t loop like i set it up too
what i do wrong?
Hi Nate,
In the screenshot of your code, what is NextStates
? It isn’t declared or initialised anywhere. This is most likely going to be the cause of a lot of your errors. I believe what you want here is the collection of states returned by the method in the State
class, from memory, GetStates
(or similar), so perhaps;
state = state.GetStates[0];
…for example.
On a related note, it’s typically better to copy/paste your code into your posts and then apply the code formatting characters (before and after), by doing so your code is a bit easier to read and those offering to help you can simply copy/paste a chunk of your code back to you with corrections/suggestions rather than having to type it all out.
Hope this helps
See also;