public override void Enter() { base.Enter(); var rotateAround = MtRotateAround.Create(2, new Vector3(0, 0, 2), Vector3.up, 360); m_tfCube.RunAction(rotateAround); }
public override MtAction Reverse() { if (m_is3D) { return(MtRotateAround.Create(m_duration, m_point, m_axis, -m_deltaAngle)); } else { // return MtRotateBy.Create(m_duration, -m_deltaAngle.x, -m_deltaAngle.y); } return(null); }