Пример #1
0
    public override void OnDrawGizmosSelected()
    {
        BoundingSphere b = new BoundingSphere(Vector3.Zero, 0.25f);

        Gizmos.SetColor(Color.Orange);
        Gizmos.SetMatrix(transform.world);
        Gizmos.DrawBoundingSphere(ref b);
    }