public void Setup(TutorialMask.eActionType act_type, Vector3 world_pos, bool is_world2screen, string text = null) { if (Object.op_Equality((Object)this.mMask, (Object)null) || Object.op_Equality((Object)this.mMaskRectTransform, (Object)null)) { return; } this.mMask.SetActive(true); this.mIsFinishSetup = true; this.mTargetWorldPos = world_pos; this.mActionType = act_type; this.mIsWorld2Screen = is_world2screen; bool flag = !string.IsNullOrEmpty(text); this.mArrow.get_gameObject().SetActive(!flag); this.mTextRoot.get_gameObject().SetActive(flag); if (flag) { this.mText.set_text(text); } // ISSUE: method pointer ((UnityEvent)this.mEnableArea.get_onClick()).AddListener(new UnityAction((object)this, __methodptr(OnClick_EnableArea))); for (int index = 0; index < this.mDisableAreas.Length; ++index) { // ISSUE: method pointer ((UnityEvent)this.mDisableAreas[index].get_onClick()).AddListener(new UnityAction((object)this, __methodptr(OnClick_DisableArea))); } }
public void Setup(TutorialMask.eActionType act_type, Vector3 world_pos, bool is_world2screen, string text = null) { this.mActionType = act_type; this.mWorldPosition = world_pos; this.mIsWorld2Screen = is_world2screen; this.mText = text; }