21 lines
462 B
C#
21 lines
462 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityObject = UnityEngine.Object;
|
|
|
|
namespace UnityEditor.U2D.Path
|
|
{
|
|
public class ScriptableData<T> : ScriptableObject
|
|
{
|
|
[SerializeField]
|
|
private T m_Data;
|
|
public UnityObject owner { get; set; }
|
|
public int index { get; set; }
|
|
|
|
public T data
|
|
{
|
|
get { return m_Data; }
|
|
set { m_Data = value; }
|
|
}
|
|
}
|
|
} |