⌨️
Thock
Get Thock
  • About
    • ⌨️Description
    • 🚀Quick Start
    • ™️Third-Party information
    • Sample Scenes
      • Example_ScreenTypewriter-and-Soundpacks
      • Example_Type
      • Example_StringEvents
  • Documentation
    • Thock
    • Convert JSON to Soundpack
      • ConvertJsonToSoundpack
    • Utilities
      • StringEventListener
        • StringEventListener Component Tutorial
      • KeyPressEventReceiver
      • KeyPressEventSender
    • Scriptable-Objects
      • SoundPackSO
      • IntToKeyCodeTable
      • StereoAudioMapping
      • StringToKeycodeTable
    • Types
      • SoundMap
Powered by GitBook
On this page
  1. Documentation
  2. Types

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.

PreviousTypes

Last updated 1 year ago