This function is used internally to update the positioning of the chat box on the screen on Application start, and any time the screen changes size. You will most likely never need to use this.
usingUnityEngine;usingTankAndHealerStudioAssets;publicclassChatBoxExample:MonoBehaviour{ // BE SURE TO ASSIGN THIS IN THE INSPECTOR //publicUltimateChatBox chatBox;voidUpdate () { // If the space bar has been pressed...if( Input.GetKeyDown( KeyCode.Space ) ) { // Update the positioning of the chat box.chatBox.UpdatePositioning(); } }}