1
0

TL.cs 435 B

1234567891011121314151617181920
  1. using UnityEngine;
  2. using ToneTuneToolkit.Common;
  3. namespace Examples
  4. {
  5. /// <summary>
  6. ///
  7. /// </summary>
  8. public class TL : MonoBehaviour
  9. {
  10. private void Start()
  11. {
  12. string txt = TextLoader.GetText(ToolkitManager.ConfigsPath + "sometext.txt", 1);
  13. TipTools.Notice(txt);
  14. string json = TextLoader.GetJson(ToolkitManager.ConfigsPath + "udpconfig.json", "Local IP");
  15. TipTools.Notice(json);
  16. }
  17. }
  18. }