예제 #1
0
 public override void OnCollisionStay2D(Collision2D other)
 {
     if (other.collider.name == "Player")
     {
         platformGenerator.onBlackPlatfromTouched(timeForBlackEffect);
         FindObjectOfType <PlayerControl>().setDefJumpForce();
     }
 }