12345678910111213141516 |
- 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>();
- outlinable.AddAllChildRenderersToRenderingList();
- OutLineManager.Instance.ResetOutLinableByType(outlinable, OutLineType.hint);
- }
- }
|