How to prevent ReSharper from using the null checking pattern “is { }”

前端 未结 0 874
陌清茗
陌清茗 2020-12-31 06:03

ReSharper thinks it\'s safe to use the null object pattern for this piece of code:

private void OnDrawGizmosSelected()
{
    Gizmos.DrawSphere(rb.position, 1.         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题