SPUPTestScriptGObj.cs 721 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using System;
  5. public class SPUPTestScriptGObj : MonoBehaviour
  6. {
  7. //Item
  8. public string Item1;
  9. public string Item2;
  10. public string Item3;
  11. // Use this for initialization
  12. void Start ()
  13. {
  14. Item1 = "";
  15. Item2 = "";
  16. Item3 = "";
  17. }
  18. // Update is called once per frame
  19. void Update ()
  20. {
  21. //Example Read Data : SPUPTestScriptGObj.Item1,TESTDATA,SPUPTestScriptGObj.Item2,TESTDATA2,SPUPTestScriptGObj.Item3,TESTDATA3<CR><LF>
  22. //These display content of data by a debugging log.
  23. if(Item1 != string.Empty)
  24. Debug.Log(Item1);
  25. if (Item1 != string.Empty)
  26. Debug.Log(Item1);
  27. if (Item1 != string.Empty)
  28. Debug.Log(Item1);
  29. }
  30. }