using EPOOutline; using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestOutLine : MonoBehaviour { [ContextMenu("添加outline")] public void AddOutLinable() { Outlinable outlinable= this.gameObject.AddComponent(); outlinable.AddAllChildRenderersToRenderingList(); OutLineManager.Instance.ResetOutLinableByType(outlinable, OutLineType.hint); } }