Files
Fishing2/Packages/com.jbooth.microverse/Scripts/ContentBrowser/IContentBrowserDropAction.cs
2025-06-09 23:23:13 +08:00

18 lines
620 B
C#

using UnityEngine;
namespace JBooth.MicroVerseCore.Browser
{
/// <summary>
/// Implementations of this interface will be executed when dropped from the content browser into the scene view
/// </summary>
public interface IContentBrowserDropAction
{
/// <summary>
/// Function that is invoked when a prefab is dropped from the content browser
/// </summary>
/// <param name="destroyAfterExecute">If true the gameobject will be destroyed from the content browser after the execute method was invoked</param>
void Execute( out bool destroyAfterExecute);
}
}