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