Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

draw sphere gizmo unity

void OnDrawGizmos()
    {
        // Draw a yellow sphere at the transform's position
        Gizmos.color = Color.yellow;
        Gizmos.DrawSphere(transform.position, 1);
    }
Comment

PREVIOUS NEXT
Code Example
Csharp :: c# random int 
Csharp :: c# math to radiant 
Csharp :: how to get ip address in c# 
Csharp :: how to edit postprocessing through script 
Csharp :: simple reset transform.rotation c# 
Csharp :: ALWAYS MAximize window on start c# 
Csharp :: C# get pc language 
Csharp :: get mouse position unity 
Csharp :: how to print a variable in c# with text 
Csharp :: hide console window c# 
Csharp :: kotlin random number 
Csharp :: convert base64 string to string c# 
Csharp :: Retrieve url path 
Csharp :: unity 3d camera rotate up and down 
Csharp :: how to make console wait c# 
Csharp :: how to convert string to bool c# 
Csharp :: unity why is there no transform.left 
Csharp :: unity or 
Csharp :: resize image c# 
Csharp :: button color uwp c# 
Csharp :: check animation end unity 
Csharp :: c# prime factorization 
Csharp :: asp.net list all files in folder 
Csharp :: unity know when gameobject presed 
Csharp :: keyboard input unity 
Csharp :: c# quit 
Csharp :: How To Copy a text C# unity 
Csharp :: {} is this used for code blcoks in c# 
Csharp :: xamarin picker item 
Csharp :: how to say "Hello world" in c# 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =