/// <summary> /// Update Rotate /// ここを調整すればTentacleの形を自在に回すことができる /// </summary> public void UpdateRotate() { switch (m_axisMove) { case UbhUtil.AXIS.X_AND_Y: m_rootTransform.AddEulerAnglesZ(m_rotationSpeed * UbhTimer.instance.deltaTime); break; case UbhUtil.AXIS.X_AND_Z: m_rootTransform.AddEulerAnglesY(-m_rotationSpeed * UbhTimer.instance.deltaTime); break; case UbhUtil.AXIS.Y_AND_Z: m_rootTransform.AddEulerAnglesX(m_rotationSpeed * UbhTimer.instance.deltaTime); //m_rootTransform.AddEulerAnglesZ(m_rotationSpeed * UbhTimer.instance.deltaTime); //m_rootTransform.AddEulerAnglesY(-m_rotationSpeed * UbhTimer.instance.deltaTime); break; default: break; } }