TextReplacer

This is a generic script that is used to replace target string's what desired values.

Public Virtual Methods

Method Description
void UpdateText(string value1) This will replace <String1> with the specified value in the message and apply that message to the textToUpdate's Text component.
void UpdateText(string value1, string value2) This will replace <String1> with value1 and <String2> with value2 in the message and apply that message to the textToUpdate's Text component.
void UpdateText(string value1, string value2, string value3) This will replace <String1> with value1, <String2> with value2, and <String3> with value3 in the message and apply that message to the textToUpdate's Text component.