Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- /*
- make sure your STM object's "verticalLimit" is set to "cutoff" for this to work right!
- */
- public class STMAutoPauseTemp : MonoBehaviour
- {
- public SuperTextMesh superTextMesh;
- public bool Continue()
- {
- if(superTextMesh.leftoverText.Length > 0)
- {
- superTextMesh.text = superTextMesh.leftoverText.TrimStart();
- return true;
- }
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement