Hi Guys,
I’m relatively new to this. So I have an empty game object in my scene called “Position”. It has only a transform on it.
I wrote a script called ‘Position’ and dragged it onto the object so that I can have a Gizmo drawn onto it in the Scene View. Whatever I do - the Gizmos don’t show up. I have all the boxes in the drop down Gizmos display ticked. What have I done wrong?
using UnityEngine;
using System.Collections;
public class Position : MonoBehaviour {
public float explosionRadius = 5.0F;
void onDrawGizmos() {
// Gizmos.color = Color.white;
Gizmos.DrawWireSphere(transform.position, explosionRadius);
Debug.Log("I am working");
}
}