Esempio n. 1
0
 public override void OnPlayerEnter()
 {
     effector.Scale(0.1f, new Vector2(originalScale.x * 1.1f, originalScale.y * 0.95f)).Then()
     .Scale(0.1f, new Vector2(originalScale.x * 0.95f, originalScale.y * 1.05f)).Then()
     .Scale(0.1f, originalScale).Play();
     ActivateParticles();
 }
Esempio n. 2
0
 // Start is called before the first frame update
 void Start()
 {
     effector.Scale(1f, 3f).And().Alpha(0.5f, 0.5f).Then().Wait(1f)
     .Then().RotateTo(1f, 180f).Then().ColorChange(1f, new Color(0, 0, 0, 1))
     .Then().Move(1f, new Vector2(2, 2));
 }
Esempio n. 3
0
 public override void OnPlayerEnter()
 {
     effector.Scale(0.1f, 0.9f * originalScale).Then().Scale(0.15f, 1.15f * originalScale).Then().Scale(0.15f, 1.1f * originalScale).Play();
     ActivateParticles();
 }