/// <summary> /// Update Rotate /// </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; default: break; } }