public void RestoreGraphic(MaskableGraphic graphic) { graphic.UnregisterDirtyMaterialCallback(new UnityAction(this.SetAllGraphicMaterials)); this.RestoreGraphicMaterial(graphic); }
public void RestoreGraphic(MaskableGraphic graphic) { graphic.UnregisterDirtyMaterialCallback(new UnityAction(this.SetAllGraphicMaterials)); this.RestoreGraphicMaterial(graphic); }