summaryrefslogtreecommitdiff
path: root/Assets/Plugins/AdvancedInspector/Interface/ICopiable.cs
blob: 8498e0562d80b94d11a485a80f01dbd4f0f204da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AdvancedInspector
{
    /// <summary>
    /// Give an object the power to detect if it can be clone to the target location.
    /// </summary>
    public interface ICopiable
    {
        /// <summary>
        /// Should return true if the object can be copied to replace the object destination.
        /// </summary>
        bool Copiable(object destination);
    }
}