OldBlueWater/BlueWater/Assets/GolemiteGames/GridBuilder2/Scripts/IOnSetPreview.cs

11 lines
332 B
C#
Raw Normal View History

2023-12-15 06:15:44 +00:00
using UnityEngine;
public interface IOnSetPreview
{
/// <summary>
/// Called when you set a preview object via the GridSelector class - Note this is only a preview and is not the same object that is placed on the grid
/// </summary>
/// <param name="prefab"></param>
public void OnPreview(GameObject prefab);
}