Files
Cielonos/Assets/Plugins/Wingman/WingmanComponentCopy.cs

23 lines
425 B
C#
Raw Normal View History

2025-11-25 08:19:33 -05:00
#if UNITY_EDITOR
using System;
using UnityEditor;
using UnityEngine;
namespace WingmanInspector {
public class WingmanComponentCopy {
public SerializedObject SerializedObject;
public Type ComponentType;
public WingmanComponentCopy(Component component) {
SerializedObject = new(component);
ComponentType = component.GetType();
}
}
}
#endif