예제 #1
0
 void Update()
 {
     if (ObserverMode && Timer)
     {
         StartCoroutine(SendingLimiter(RobotCommands.GetSceneInf(), 1f));
     }
 }
예제 #2
0
    // Update is called once per frame
    IEnumerator Click()
    {
        this.gameObject.GetComponent <Button>().interactable = false;
        SceneManager.Net.Sender(RobotCommands.Sensors());
        yield return(new WaitForSeconds(5));

        SceneManager.Net.Sender(RobotCommands.GetSceneInf());
        this.gameObject.GetComponent <Button>().interactable = true;
    }
예제 #3
0
 void Getscene()
 {
     Sender(RobotCommands.GetSceneInf());
 }