public void Init() { GameObject gameObject = (GameObject)Object.Instantiate <GameObject>((M0)this.mConceptCardDescriptionPrefab); gameObject.get_transform().SetParent(this.mConceptCardDescriptionParent, false); this.mConceptCardDescription = (ConceptCardDescription)gameObject.GetComponentInChildren <ConceptCardDescription>(); }
private void Start() { if (this.m_DescriptionInstanceType == ConceptCardEquipDetail.DescriptionInstanceType.PrefabInstantiate) { this.mConceptCardDescription = (ConceptCardDescription)Object.Instantiate <ConceptCardDescription>((M0)this.mConceptCardDescription); ((Component)this.mConceptCardDescription).get_transform().SetParent((Transform)this.mConceptCardDescriptionRoot, false); } this.SetParam(); }
private void Awake() { ConceptCardDescription._instance = this; }