Timeline for Why am I not getting stuck in the loop
Current License: CC BY-SA 4.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 20, 2022 at 16:36 | vote | accept | babybrain | ||
May 1, 2020 at 21:30 | vote | accept | babybrain | ||
May 1, 2020 at 21:31 | |||||
Aug 7, 2019 at 14:01 | history | removed from network questions | Vaillancourt♦ | ||
Aug 7, 2019 at 13:52 | comment | added | Darrel Hoffman |
I don't recommend StopAllCoroutines() in this case. It's fine when you're only ever using one coroutine, but if you ever planned to have more than one, this would have undesired effects. Instead you should use StopCoroutine() and just stop the one that's relevant instead of all of them. (StopAllCoroutines() would be useful e.g. when ending the level or loading a new area, etc., but not for specific stuff like "I'm not shooting anymore".)
|
|
S Aug 7, 2019 at 8:03 | history | suggested | Logarr | CC BY-SA 4.0 |
Added code as text
|
Aug 7, 2019 at 6:29 | answer | added | Luaan | timeline score: 0 | |
Aug 7, 2019 at 0:00 | history | tweeted | twitter.com/StackGameDev/status/1158890607210848263 | ||
Aug 6, 2019 at 23:43 | comment | added | DMGregory♦ | @Mkalafut that sounds like something to ask in a new Question post if you're unable to find the answer in the Unity documentation pages, tutorials, or your own experiments. | |
Aug 6, 2019 at 21:50 | review | Suggested edits | |||
S Aug 7, 2019 at 8:03 | |||||
Aug 6, 2019 at 21:47 | answer | added | Peter | timeline score: 15 | |
Aug 6, 2019 at 21:23 | history | became hot network question | |||
Aug 6, 2019 at 17:35 | comment | added | 3Dave |
It might help to realize that yield is effectively short for "Yield control to the caller until the next item in the Enumerable is requested."
|
|
Aug 6, 2019 at 17:32 | answer | added | trollingchar | timeline score: 1 | |
Aug 6, 2019 at 17:11 | comment | added | Mkalafut |
I just recently got back into Unity myself, I notice that the Input methods are taking in a string "Fire1" , is that something you can set up in the engine to allow for key remappings rather than typing out Keycode.Foo ?
|
|
S Aug 6, 2019 at 16:14 | history | suggested | Joe |
Replace unityscript tag with C#, the language used in the code sample.
|
|
Aug 6, 2019 at 14:47 | review | Suggested edits | |||
S Aug 6, 2019 at 16:14 | |||||
Aug 6, 2019 at 14:27 | answer | added | Joe | timeline score: 1 | |
Aug 6, 2019 at 14:17 | answer | added | Ed Marty | timeline score: 3 | |
Aug 6, 2019 at 13:37 | answer | added | David Weatherhead | timeline score: 8 | |
Aug 6, 2019 at 13:20 | history | asked | babybrain | CC BY-SA 4.0 |