23 lines
439 B
C#
23 lines
439 B
C#
#if UNITY_EDITOR
|
|
|
|
using System;
|
|
using UnityEditor;
|
|
using UnityEngine;
|
|
|
|
namespace WingmanInspector
|
|
{
|
|
public class WingmanComponentCopy
|
|
{
|
|
public Type ComponentType;
|
|
|
|
public SerializedObject SerializedObject;
|
|
|
|
public WingmanComponentCopy(Component component)
|
|
{
|
|
SerializedObject = new SerializedObject(component);
|
|
ComponentType = component.GetType();
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif |