/// <summary> /// Unity method that draws Gizmo elements on the scene editor. /// </summary> protected override void OnDrawGizmosSelected() { if (drawDebugRadius) { Transform t = GetComponent <Transform>(); AuxiliarFunctions.DrawCircleGizmo(t, treeRadius, mushroomRadius); } }
/// <summary> /// Unity method that draws Gizmo elements on the scene editor. /// </summary> protected virtual void OnDrawGizmosSelected() { if (drawDebugRadius) { Transform t = GetComponent <Transform>(); AuxiliarFunctions.DrawCircleGizmo(t, treeRadius); } }