예제 #1
0
    // Depth Switcher

    public void DepthAuto(float depth)
    {
        depth_manual.gameObject.SetActive(false);

        socket.SetDepthMotorsSpeed(0, 0);
        socket.SetAutoDepth(true, depth);

        depthmode = DepthMode.Auto;
    }
예제 #2
0
 public void SliderChanged()
 {
     socket.SetDepthMotorsSpeed((int)slider.value, (int)slider.value);
 }