コード例 #1
0
        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>();
        }
コード例 #2
0
 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();
 }
コード例 #3
0
 private void Awake()
 {
     ConceptCardDescription._instance = this;
 }