blob: 9dcf487c45dbbf6bd05cb1342b790e1974fb83e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
namespace AdvancedInspector
{
/// <summary>
/// Implements the method required to display an inspector preview.
/// </summary>
public interface IPreview
{
/// <summary>
/// This should return instance(s) of the following type;
/// GameObject
/// Mesh
/// Material
/// Texture
/// Cubemap
/// If return null or empty array, preview is turned off.
/// </summary>
UnityEngine.Object[] Preview { get; }
}
}
|