Hi everyone,
So I’m trying to follow the tutorial shown in this video : Generating Content - Unity Learn
I’m an experienced programmer and I immediately understand the script when I read it. However I’m a total newbie in Unity so I’m struggling with its interface and peculiarities.
My issue is that when I hit “play” I don’t see the mesh appearing in my scene. Before you suspect that this is the cause, I definitely have filled in the public variables in the editor interface (width, height, random fill percent…). I’ve also dragged and dropped the script onto an empty object.
I’ve attached to Unity in Visual Studio 2017 and I can see that the execution is going through ‘GenerateMap’ but not into ‘OnDrawGizmos’. How do you enable that event?
Side question: in the video, when the guy starts his brand new game, the point of view doesn’t change to the camera – it stays as it is in the designer view. And then he changes the camera to top-down while being in-game. (in the video: from 9:45 to 9:51) How does he do that? In my brand new, empty game, the behaviour is different. Is it because he uses an older version of Unity?