Silence warning
This commit is contained in:
@@ -593,7 +593,9 @@ namespace FlaxEditor.CustomEditors
|
|||||||
JsonSerializer.Deserialize(obj, text);
|
JsonSerializer.Deserialize(obj, text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#pragma warning disable 618
|
||||||
else if (Newtonsoft.Json.Schema.JsonSchema.Parse(text) == null)
|
else if (Newtonsoft.Json.Schema.JsonSchema.Parse(text) == null)
|
||||||
|
#pragma warning restore 618
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user