Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IntegerProperty

Draw a property field for an integer shader property.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

IntegerProperty(MaterialProperty, string)

Draw a property field for an integer shader property.
public int IntegerProperty(MaterialProperty prop, string label)

Parameters


label

Label for the property.

Returns

Type

Description

int

IntegerProperty(Rect, MaterialProperty, string)

Draw a property field for an integer shader property.
public int IntegerProperty(Rect position, MaterialProperty prop, string label)

Parameters

position



label

Label for the property.

Returns

Type

Description

int