Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CountRemaining()

Count remaining visible properties.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public int CountRemaining()

Returns

Type

Description

int

Remarks

This is useful for allocating height for drawing this property and all the following ones. Note that calling this method will move the property forward to the end of the SerializedObject. If this is not the desired behavior either use SerializedProperty.Copy to make a copy of the current property before calling this method or SerializedProperty.Reset to reset the property after calling this method.