rimworld-animation-studio/Library/PackageCache/com.unity.2d.path@2.1.0/Editor/EditorTool/ScriptableData.cs

21 lines
462 B
C#
Raw Normal View History

2022-09-13 05:36:34 +00:00
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; }
}
}
}