A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
add input = Console.ReadLine(); instead of just Console.ReadLine(). You're only assigning your string once (before the loop)
Just so I understand correctly, you do want to be able to move diagonally?
You could simply create a script like: PrepareToBeDestroyed which gets added when you "want" to destroy it. Then you could perform a check either...
Of course it did. As long as the Object passed into the Instantiate function was of the same type you were trying to cast to. Infact, you wouldn't...
Are you unsubscribing from all global events? Are you passing references of scene objects to scriptable objects/any other .asset file? Do you have...
That project works perfectly for me, I'm not sure what problem you were trying to express! Sorry if I've misunderstood
I didn't say it did! All I have done is give the OP a simple solution to what HE described as a simple problem. The enemy only needs to collide...
Well the OPs initial question involved not needing collision or gravity, which is why I suggested this option.
What do you mean? If the movement is frame-rate independent, it won't matter.
Actually, you'll find most modern racing games etc. use the technique I described. It's just a matter of sending the commands to a controller...
Have you considered how the old racing games used to do ghosts/replays? You can record the keystrokes the player uses per-frame and then relay...
FYI: Structs can have functions ;)
I'm sure I've read somewhere that this "bug" wasn't actually a bug and foreach was designed in a way similar to for loops. The actual loop...
Well you already know how many sections a chapter has and each section knows how many points they have. So why not keep an internal counter? Then...
for (int iSection = 0; iChapter < _contents[iChapter].sectionsList.Count; iSection++) { } Should be iSection <...
Do you have a camera in your scene which is tagged as "MainCamera" ? It's either the Camera or the probe which is null.
Is the collider on your Enemy gameobject set to be "IsTrigger" ?
Does the gameobject have a ReflectionProbe attached? You should add a RequiresComponent attribute if the script NEEDS a certain component to...
Post the code you're using to move your character based on the click. If you know you're hitting a UI element, you shouldn't even be telling the...
No such thing as a "Diameter" line? Your picture indicates you want it to just shoot at the other when it's close enough? A circle does not have a...