Пример #1
0
    // Start is called before the first frame update
    void Start()
    {
        GameObject Robot = GameObject.Find("Robot");

        roboCom = Robot.GetComponent <robotCommunication>();
        pos     = new Vector3(0, 10, -257.5f);
        rot     = new Vector3(0.0f, 0.0f, 0.0f);
    }
    // Start is called before the first frame update
    void Start()
    {
        GameObject Robot = GameObject.Find("Robot");

        roboCom            = Robot.GetComponent <robotCommunication>();
        vel                = new Vector3(0, 0, 0);
        rot                = new Vector3(0.0f, 0.0f, 0.0f);
        transform.position = new Vector3(0, 0, 0);
    }