Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

unity inspector sliders

public class Example : MonoBehaviour
{
    // This integer will be shown as a slider,
    // with the range of 1 to 6 in the Inspector
    [Range(1, 6)]
    public int integerRange;

    // This float will be shown as a slider,
    // with the range of 0.2f to 0.8f in the Inspector
    [Range(0.2f, 0.8f)]
    public float floatRange;
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: rigidbody velocity 
Csharp :: unity transform.translate 
Csharp :: c# enum to string 
Csharp :: randon C# 
Csharp :: list dictionary c# 
Csharp :: c# Add or Concatenate Strings In C# 
Csharp :: qrcode c# 
Csharp :: unity c# rate game 
Csharp :: array in unity 
Csharp :: unity on key press 
Csharp :: how to clear a dictionary in c# 
Csharp :: c# get pixel from bitmap click 
Csharp :: unity getcomponent transform.position 
Csharp :: Unity inverse kinematics nothing is happening 
Csharp :: winforms open multiple forms show one icon in taskabr 
Csharp :: call action method on checkbox click asp.net mvc without pageload 
Html :: google material icons cdn 
Html :: blank space html 
Html :: align eliment in center of row bootstrap 
Html :: tag for tel 
Html :: html entity quote 
Html :: give red color text in markdown 
Html :: input type file csv only 
Html :: bsc chain rpc 
Html :: html page back button 
Html :: justify-content-between bootstrap 4 
Html :: html skype call 
Html :: markdown new page break 
Html :: readme.md text color 
Html :: flex 2 columns per row 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =