The SoundMap class represents a mapping of sound positions and lengths.
position (int): The position of the sound in milliseconds.
position
length (int): The length of the sound in milliseconds.
length
SoundMap(int position, int length): Initializes a new instance of the SoundMap class with the specified position and length.
SoundMap(int position, int length)
The SoundMapDrawer class is a custom property drawer for the SoundMap class.
SoundMapDrawer
OnGUI(Rect position, SerializedProperty property, GUIContent label): Draws the GUI for the SoundMap property.
OnGUI(Rect position, SerializedProperty property, GUIContent label)
GetPropertyHeight(SerializedProperty property, GUIContent label): Adjusts the height of the drawer to accommodate additional labels.
GetPropertyHeight(SerializedProperty property, GUIContent label)
Last updated 1 year ago