架构大更
This commit is contained in:
@@ -4,20 +4,20 @@ using System;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace WingmanInspector {
|
||||
|
||||
public class WingmanComponentCopy {
|
||||
|
||||
public SerializedObject SerializedObject;
|
||||
namespace WingmanInspector
|
||||
{
|
||||
public class WingmanComponentCopy
|
||||
{
|
||||
public Type ComponentType;
|
||||
|
||||
public WingmanComponentCopy(Component component) {
|
||||
SerializedObject = new(component);
|
||||
public SerializedObject SerializedObject;
|
||||
|
||||
public WingmanComponentCopy(Component component)
|
||||
{
|
||||
SerializedObject = new SerializedObject(component);
|
||||
ComponentType = component.GetType();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user