override protected void StartMain()
    {
        curEditData.editType = EditType.Image;

        editMethods = this.gameObject.AddComponent <FrameModifyMethods> ();

        baseFrameObj = (FrameObj)baseObj;

        editTransform = this.gameObject.GetComponent <RectTransform> ();
        baseTransform = baseObj.gameObject.GetComponent <RectTransform> ();

        editButton = editMethods.GetButtonObj(this.gameObject);

        editText = editMethods.GetTextObj(this.gameObject);

        SetAddListener();

        lineNum = editButton.Length;

        ChangeColorAllowPos();
    }
Beispiel #2
0
 override protected void AwakeAfter()
 {
     editMethods = this.gameObject.AddComponent <FrameModifyMethods> ();
 }