摘要:
如题需求using UnityEngine;using System.Collections;using UnityEditor;using System.Collections.Generic;public class DestroySubComponent{ [MenuItem("Assets/Example/DestroySubComponent")] public static void DestroySubCom() { UnityEngine.Object[] selection = Selection.GetFiltered(typeof(UnityEngin 阅读全文