Horje
draw sphere gizmo unity Code Example
draw sphere gizmo unity
void OnDrawGizmos()
    {
        // Draw a yellow sphere at the transform's position
        Gizmos.color = Color.yellow;
        Gizmos.DrawSphere(transform.position, 1);
    }




Csharp

Related
how to remove a component from an object in unity Code Example how to remove a component from an object in unity Code Example
check if gameobject is active Code Example check if gameobject is active Code Example
unity how to convert to byte Code Example unity how to convert to byte Code Example
unity how to set gameobjkect enabled Code Example unity how to set gameobjkect enabled Code Example
how to turn string to int in unity Code Example how to turn string to int in unity Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8