1
0

TTTTest.cs 563 B

123456789101112131415161718192021222324
  1. using UnityEngine;
  2. using System.Net.NetworkInformation;
  3. namespace ToneTuneToolkit
  4. {
  5. public class TTTTest : MonoBehaviour
  6. {
  7. private void Start()
  8. {
  9. }
  10. public void Red()
  11. {
  12. TTTUDPCommunicator.Instance.SendMessageOut("[Dev]REQ=SemanticLighting&Action=DimColor&Port=1&Begin=1&End=144&Color=#FF0000");
  13. }
  14. public void Yellow()
  15. {
  16. TTTUDPCommunicator.Instance.SendMessageOut("[Dev]REQ=SemanticLighting&Action=DimColor&Port=1&Begin=1&End=144&Color=#FFFF00");
  17. }
  18. }
  19. }