gameObjectof the character being typed and duration is the value passed from the individual text.
MText_UI_RaycastSelectorscript attached needs to be in the scene to select items with mouse/touch. You can disable it when not using a 3D UI. This is automatically added when you create a 3d UI item (except plain text).
MText_UI_RaycastSelector, Camera.Main is used to assign camera in Start(); If not camera main is found and no camera is referenced in the inspector, the touch control/mouse control won't work.
UpdateOncePerFramesetting is turned on, which is on by default, texts are updated at the end of the frame. This makes sure multiple calls/changes to the text doesn't unnecessarily update the text multiple times in a single frame. If you need the text to be updated instantly, call
UpdateList()to update the list.
Toggle()which is automatically added when creating toggle