Files
ichni_Official/Assets/Plugins/Wingman/WingmanClipboard.cs

24 lines
511 B
C#
Raw Normal View History

2025-07-08 14:28:40 -04:00
#if UNITY_EDITOR
using System.Collections.Generic;
using UnityEngine;
namespace WingmanInspector {
public class WingmanClipboard {
public readonly List<WingmanComponentCopy> Copies = new();
public void CopyComponents(List<Component> components) {
if (components == null) return;
Copies.Clear();
foreach (Component component in components) {
Copies.Add(new(component));
}
}
}
}
#endif