UnityPlatformer.PlatformerCollider2D.FallThroughPlatform C# (CSharp) Method

FallThroughPlatform() public method

fallingThroughPlatform = true during resetDelay time
public FallThroughPlatform ( float resetDelay = 0.5f ) : void
resetDelay float 0 means no reset
return void
    public void FallThroughPlatform(float resetDelay = 0.5f) {
      // defense!
      if (collisions.fallingThroughPlatform) {
        return;
      }

      collisions.fallingThroughPlatform = true;
      if (resetDelay > 0) {
        UpdateManager.SetTimeout(ResetFallingThroughPlatform, resetDelay);
      }
    }
    /// <summary>