I want to use OnDrawGizmos for draw waypoint for GameObject Move. It’s have many gameobjects (20 - 30 gameobject). My question is “OnDrawGizmos affect game performance ?”. It’s mobile game.
Do gizmos even work in builds?
I always thought those were editor time things… I don’t know, I seldom if ever use them.
And it’ll affect game performance in that it has a cost. Gizmos aren’t free (in the sense of compute). Not sure how much exactly… will probably be more expensive than a normal renderer object in scene.
I want to make tap game. In video, chicken walk pattern. I think it’s not use navmesh ai walk.
https://www.youtube.com/watch?v=C60uCmRGW70
OnDrawGizmos example
Can’t find it right now but I remember reading in the manual that OnDrawGizmos are not executed in the actual build.
Those gizmos only shows up in the editor, so you don’t use them to make the game. They’re only for debugging.
If you need something similar, use a line renderer.
I want to use gizmos for show waypoint line gameobject move. Can use it ? Thank you for advice!