public MTRotateByState(MTRotateBy action, GameObject target) : base(action, target) { AngleX = action.AngleX; AngleY = action.AngleY; AngleZ = action.AngleZ; StartAngleX = target.transform.localRotation.x; StartAngleY = target.transform.localRotation.y; StartAngleZ = target.transform.localRotation.z; }