public override void Activate(HitResult hr) { if (hr.IsValid() == false) { return; } BounceProcess(hr, bounceProcessType); }
public override void Activate(HitResult hr) { if (hr.IsValid() == false) { return; } Wall hitWall = hr.target as Wall; if (hitWall == null) { return; } Destroy(gameObject, destroyDelay); }