Example #1
0
 void Update()
 {
     if (ObserverMode && Timer)
     {
         StartCoroutine(SendingLimiter(RobotCommands.GetSceneInf(), 1f));
     }
 }
Example #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;
    }
 void Getscene()
 {
     Sender(RobotCommands.GetSceneInf());
 }