Version: 2017.3

Gizmos.DrawWireCube

Switch to Manual
public static void DrawWireCube (Vector3 center, Vector3 size);

Description

Рисует каркасный куб с центром в точке center и размером size.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { void OnDrawGizmosSelected() { Gizmos.color = Color.yellow; Gizmos.DrawWireCube(transform.position, new Vector3(1, 1, 1)); } }