/* public - [Event] Function * 프랜드 객체가 호출(For Friend class call)*/ // ========================================================================== // #region Protected /* protected - [abstract & virtual] */ /* protected - [Event] Function * 자식 객체가 호출(For Child class call) */ /* protected - Override & Unity API */ protected override void OnAwake() { base.OnAwake(); if (this.GetComponentInChildren(out _pUIText)) { _eIndicatorType = EIndicatorType.UGUI; //_pRectTrans = _pUIText.GetComponent<RectTransform>(); return; } #if TMPro if (this.GetComponentInChildren(out _pUIText_TMPro)) { _eIndicatorType = EIndicatorType.TextMeshPro; //_pRectTrans = _pUIText_TMPro.GetComponent<RectTransform>(); return; } #endif #if NGUI if (this.GetComponentInChildren(out _pUILabel)) { _eIndicatorType = EIndicatorType.NGUI; return; } #endif }
/* public - [Event] Function * 프랜드 객체가 호출(For Friend class call)*/ // ========================================================================== // #region Protected /* protected - [abstract & virtual] */ /* protected - [Event] Function * 자식 객체가 호출(For Child class call) */ /* protected - Override & Unity API */ protected override void OnAwake() { base.OnAwake(); if (p_pUIText) { p_eIndicatorType = EIndicatorType.UGUI; return; } #if TMPro if (p_pUIText_TMPro) { p_eIndicatorType = EIndicatorType.TextMeshPro; return; } #endif }