Photographs of code are not a thing. If you post a code snippet, ALWAYS USE CODE TAGS:
How to use code tags: Using code tags properly
Honestly, I always use code tags lol. I took a picture of my cube and zoned out and just took another one of my code, not enough caffeine I guess.
private void OnDrawGizmosSelected()
{
Mesh mesh = GetComponent<MeshFilter>().sharedMesh;
Vector3[] vertices = mesh.vertices;
GUIStyle style = new GUIStyle();
style.fontSize = 30;
for (int i = 0; i < vertices.Length; i++)
{
Handles.Label(transform.TransformPoint(vertices[i]), $"{i}", style);
}
}
So thanks, that fixed them not moving, but I can’t figure out why it’s giving me so many vertices, it’s just a basic unity cube