示例#1
0
 public void HideLightEffect()
 {
     if (this.skinnedMeshRenderers.Count <= 0)
     {
         return;
     }
     this.skinnedMeshRenderers.ForEach(i =>
     {
         MaterialController.CancelSetLightMaterial(i);
         MaterialController.CancelSetMaterial(i, CustomShader.OUTLINE_GLOW);
         MaterialController.CancelSetMaterial(i, CustomShader.Edge_GLOW);
     });
     this.skinnedMeshRenderers.Clear();
 }