From e846c64d6f927879cb8a095e62d773a8d7b3c9f4 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 15 Oct 2020 07:24:10 +0800 Subject: *ability system --- .../Plugins/AdvancedInspector/Interface/ICopiable.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs (limited to 'Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs') diff --git a/Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs b/Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs new file mode 100644 index 00000000..8498e056 --- /dev/null +++ b/Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AdvancedInspector +{ + /// + /// Give an object the power to detect if it can be clone to the target location. + /// + public interface ICopiable + { + /// + /// Should return true if the object can be copied to replace the object destination. + /// + bool Copiable(object destination); + } +} -- cgit v1.1-26-g67d0