15 lines
358 B
C#
15 lines
358 B
C#
using UnityEngine;
|
|
|
|
namespace Needle.Engine.Gltf
|
|
{
|
|
/// <summary>
|
|
/// This component is only temporarily instantiated when a nested gltf is exported to automatically load this
|
|
/// </summary>
|
|
// empty path = hidden
|
|
[AddComponentMenu("")]
|
|
public class NestedGltf : MonoBehaviour
|
|
{
|
|
public string FilePath;
|
|
public bool LoadAssetInParent = true;
|
|
}
|
|
} |