public IEnumerator Test_ObjectBase_GetComponent_Attribute() { GameObject pObjectNew = new GameObject(); CObjectBase_테스트 pTarget = pObjectNew.AddComponent <CObjectBase_테스트>(); pTarget.EventOnAwake(); yield return(null); Assert.IsNotNull(pTarget.pGetComponent); }
public IEnumerator Test_ObjectBase_GetComponentInChildren_Attribute() { GameObject pObjectNew = new GameObject(); CObjectBase_테스트 pTargetParents = pObjectNew.AddComponent <CObjectBase_테스트>(); CObjectBase_테스트 pTarget = pObjectNew.AddComponent <CObjectBase_테스트>(); pTarget.transform.SetParent(pTargetParents.transform); pTarget.EventOnAwake(); yield return(null); Assert.IsNotNull(pTarget.pGetComponentParents); }