コード例 #1
0
    void Update()
    {
        ipc.Update();

        cube0.transform.position = new Vector3(x0 / 100, -y0 / 100, -z0 / 100 + 6);
        cube1.transform.position = new Vector3(x1 / 100, -y1 / 100, -z1 / 100 + 6);
        cube2.transform.position = new Vector3(x2 / 100, -y2 / 100, -z2 / 100 + 6);
        cube3.transform.position = new Vector3(x3 / 100, -y3 / 100, -z3 / 100 + 6);
        cube4.transform.position = new Vector3(xCenter / 100, -yCenter / 100, -zCenter / 100 + 6);
    }