override protected void StartMain() { curEditData.editType = EditType.Button; editMethods = this.gameObject.AddComponent <TextModifyMethods> (); baseTextObj = (TextObj)baseObj; editTransform = this.gameObject.GetComponent <RectTransform> (); baseTransform = baseObj.gameObject.GetComponent <RectTransform> (); editButton = editMethods.GetButtonObj(this.gameObject); editText = editMethods.GetTextObj(this.gameObject); SetAddListener(); ChangeColorAllowPos(); }
override protected void AwakeAfter() { editMethods = this.gameObject.AddComponent <TextModifyMethods> (); }