Timeline for How do I switch between different Update behaviour states in Unity?
Current License: CC BY-SA 3.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 19, 2017 at 0:28 | comment | added | DMGregory♦ | You don't have to post the same message twice. | |
| May 19, 2017 at 0:27 | comment | added | MrRobot9 | @DMGregory One problem, when I change from Play state to dead state and back to play state, everything from that play state gets called twice for the coroutine solution. | |
| May 14, 2017 at 7:25 | answer | added | Lea Hayes | timeline score: 1 | |
| May 12, 2017 at 1:30 | answer | added | Gnemlock | timeline score: 2 | |
| May 12, 2017 at 1:11 | history | edited | DMGregory♦ | CC BY-SA 3.0 |
Trying to put the core problem first, and make it more searchable for people with similar issues.
|
| May 12, 2017 at 1:03 | history | edited | Gnemlock | CC BY-SA 3.0 |
grammar and punctuation
|
| May 12, 2017 at 1:00 | comment | added | DMGregory♦ | @Gnemlock I think the problem of setting up a multi-state behaviour in Unity is a legitimate on-topic question here (and something I run into in my own work fairly often). In this case, I think it's just obscured in an xy problem fashion, by focusing on an attempted solution syntax rather than the feature or need it's serving. | |
| May 12, 2017 at 0:44 | vote | accept | MrRobot9 | ||
| May 12, 2017 at 0:40 | answer | added | DMGregory♦ | timeline score: 4 | |
| May 11, 2017 at 23:46 | comment | added | MrRobot9 | @Gnemlock but base.Update calls super class, right? | |
| May 11, 2017 at 22:54 | review | Close votes | |||
| May 13, 2017 at 8:00 | |||||
| May 11, 2017 at 22:51 | comment | added | MrRobot9 | @Honeybunch I don't want to implement the trivial approach where I place nest if-else statements in Update function to check if it has reached that state, so I thought of separating it into classes, but not sure how to invoke the functions of sub class | |
| May 11, 2017 at 22:49 | history | edited | MrRobot9 | CC BY-SA 3.0 |
deleted 2 characters in body; edited title
|
| May 11, 2017 at 22:46 | comment | added | Honeybunch | Did you try this model and it didn't work or are you asking about "best practices"? You seem to be asking "is it possible?" to which the answer is almost always a vague mess. I think the most reasonable answer would be "Try it and see if it works then come back with a more specific question if you have problems." Asking about whether or not approaches are possible or what the "best approach" to something is will almost always devolve into answers that aren't much more than personal preferences. | |
| May 11, 2017 at 22:30 | review | First posts | |||
| May 11, 2017 at 22:46 | |||||
| May 11, 2017 at 22:29 | history | asked | MrRobot9 | CC BY-SA 3.0 |