Ejemplo n.º 1
0
        public void OnDrawGizmosSelected()
        {
            var pos = transform.position;
            var rot = transform.rotation;

            GizmoExtensions.DrawWireCube(pos + rot * Offset, GetScaledSize(), rot, Color.white);
        }
Ejemplo n.º 2
0
 public void OnDrawGizmos()
 {
     GizmoExtensions.DrawWireCube(transform.position + Vector3.up * (Size.y / 2), Size / 2, Quaternion.identity, Color.white);
 }