Пример #1
0
 void OnCollisionEnter2D (Collision2D col)
 {
     DeconstructEffect.Generate(platforms.lastPosition);
     platforms.GenerateNextPlatform(Random.value > .8f);
     movement.Jump();
 }