public AvtarInfo(Entity owner, AvtarManager avtarManager) { m_Owner = owner; m_AvtarManager = avtarManager; m_AvtarAssetInfos = new Dictionary <string, AssetObject>(); m_SkinMeshInfo = new List <SkinMeshInfo>(); m_AllChildTs = m_Owner.GetComponentsInChildren <Transform>(true); }
protected override void OnAwake() { base.OnAwake(); m_AvtarManager = new AvtarManager(); }