Files
ChunilENG/Assets/Editor/TransformBundleCopyEditor.cs
정영민 2dd5d814a7 update
2025-02-20 09:59:37 +09:00

19 lines
429 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(TransformBundleCopy))]
public class TransformBundleCopyEditor : Editor
{
public override void OnInspectorGUI()
{
base.OnInspectorGUI();
TransformBundleCopy copy = target as TransformBundleCopy;
if (GUILayout.Button("Copy"))
{
copy.Copy();
}
}
}