|
|
@@ -9,8 +9,7 @@ public class SampleActions : MonoBehaviour |
|
|
|
{ |
|
|
|
new ActionFadeIn(2), |
|
|
|
new ActionParallel(new Action[] { |
|
|
|
new ActionMoveBy(new Vector3(10, 0, 0), 1), |
|
|
|
new ActionMoveBy(new Vector3(0, 10, 0), 1), |
|
|
|
new ActionMoveBy(new Vector3(10, 10, 0), 1), |
|
|
|
new ActionRotateBy(new Vector3(90, 0, 0), 1), |
|
|
|
new ActionTintBy(new Vector4(-50, 50, -150), 1) |
|
|
|
}), |
|
|
@@ -24,11 +23,14 @@ public class SampleActions : MonoBehaviour |
|
|
|
new ActionDelay(0F, 0.2F), |
|
|
|
}), 5), |
|
|
|
new ActionDelay(1), |
|
|
|
new ActionMoveBy(new Vector3(-10, 0, 0), 1), |
|
|
|
new ActionJumpBy(new Vector3(-10, 0, 0), 1, 4, 1), |
|
|
|
new ActionJumpTo(new Vector3(10, 10, 10), 1, 3, 1), |
|
|
|
new ActionJumpBy(new Vector3(-10, 0, 0), 1, 2, 1), |
|
|
|
new ActionDelay(0.5F), |
|
|
|
new ActionMoveTo(new Vector3(0, 0, 10), 1), |
|
|
|
new ActionBezierRel(new Vector3 (5, 0, 0), new Vector3(5, -10, 0), new Vector3 (0, -10, 0), 2), |
|
|
|
new ActionScaleTo(new Vector3(2, 2, 2), 1), |
|
|
|
new ActionRotateTo(new Vector3(0, 0, 0), 1), |
|
|
|
new ActionBlink(2, 1), |
|
|
|
new ActionFadeOut(2), |
|
|
|
new ActionSetTint(new Vector4(67, 105, 181)) |
|
|
|
}), 5); |
|
|
|