From 2065b949b02fbdbc01206a293b4029ffc2f10e0c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Perrier Date: Thu, 13 May 2021 17:54:23 +0200 Subject: [PATCH] Add IsFileNameValid in ContentProxy. --- Source/Editor/Content/Proxy/ContentProxy.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Source/Editor/Content/Proxy/ContentProxy.cs b/Source/Editor/Content/Proxy/ContentProxy.cs index 0948ef5e8..afb5c11fb 100644 --- a/Source/Editor/Content/Proxy/ContentProxy.cs +++ b/Source/Editor/Content/Proxy/ContentProxy.cs @@ -73,6 +73,16 @@ namespace FlaxEditor.Content throw new NotImplementedException(); } + /// + /// Determines whether the specified filename is valid for this proxy. + /// + /// The filename. + /// true if the filename is valid, otherwise false. + public virtual bool IsFileNameValid(string filename) + { + return true; + } + /// /// Determines whether this proxy can create items in the specified target location. ///