Exemplo n.º 1
0
 /// <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);
     }
 }
Exemplo n.º 2
0
 /// <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);
     }
 }