public void _init_repair() { this._isBtnMaruUp = false; this.rep = GameObject.Find("Repair Root").GetComponent <repair>(); this.bd1 = GameObject.Find("board").GetComponent <board>(); this.bd2 = GameObject.Find("board2").GetComponent <board2>(); this.dockSelectController = new KeyControl(0, 1, 0.4f, 0.1f); this.dockSelectController.isLoopIndex = false; this.dockSelectController.setChangeValue(0f, 1f, 0f, -1f); iTween.ScaleTo(base.get_gameObject(), new Vector3(0.6f, 0.6f, 0.6f), 0f); this._Button_Yes3 = GameObject.Find("dialog3_top/dialog3/btn_yes").GetComponent <UIButton>(); this._Button_No3 = GameObject.Find("dialog3_top/dialog3/btn_no").GetComponent <UIButton>(); this.btn_obj[0] = this._Button_No3.get_gameObject(); this.btn_obj[1] = this._Button_Yes3.get_gameObject(); this._uiOverlayButton3 = GameObject.Find("dialog3_top/dialog3/OverlayBtn3").GetComponent <UIButton>(); EventDelegate.Add(this._uiOverlayButton3.onClick, new EventDelegate.Callback(this._onClickOverlayButton3)); UIButtonMessage component = this._Button_Yes3.GetComponent <UIButtonMessage>(); component.target = base.get_gameObject(); component.functionName = "Pressed_Button_Yes3"; component.trigger = UIButtonMessage.Trigger.OnClick; UIButtonMessage component2 = this._Button_No3.GetComponent <UIButtonMessage>(); component2.target = base.get_gameObject(); component2.functionName = "Pressed_Button_No3"; component2.trigger = UIButtonMessage.Trigger.OnClick; this.Set_Button_Sprite(true); this._clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); this._bVector = Vector3.get_one(); }
private void Start() { this._dialog_anime = false; this._init_repair(); this.set_dialog_anime(false); this._clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); }
public void _init_repair() { _isBtnMaruUp = false; rep = GameObject.Find("Repair Root").GetComponent <repair>(); bd1 = GameObject.Find("board1_top/board").GetComponent <board>(); bd2 = GameObject.Find("board2").GetComponent <board2>(); csb = GameObject.Find("dialog2_top/dialog2/Banner/CommonShipBanner2").GetComponent <CommonShipBanner>(); dockSelectController = new KeyControl(0, 1); dockSelectController.isLoopIndex = false; dockSelectController.setChangeValue(0f, 1f, 0f, -1f); iTween.ScaleTo(base.gameObject, new Vector3(0.6f, 0.6f, 0.6f), 0f); _Button_Yes2 = GameObject.Find("dialog2_top/dialog2/btn_yes").GetComponent <UIButton>(); _Button_No2 = GameObject.Find("dialog2_top/dialog2/btn_no").GetComponent <UIButton>(); btn_obj[0] = _Button_No2.gameObject; btn_obj[1] = _Button_Yes2.gameObject; _uiOverlayButton2 = GameObject.Find("dialog2_top/dialog2/OverlayBtn2").GetComponent <UIButton>(); EventDelegate.Add(_uiOverlayButton2.onClick, _onClickOverlayButton2); UIButtonMessage component = _Button_Yes2.GetComponent <UIButtonMessage>(); component.target = base.gameObject; component.functionName = "Pressed_Button_Yes2"; component.trigger = UIButtonMessage.Trigger.OnClick; UIButtonMessage component2 = _Button_No2.GetComponent <UIButtonMessage>(); component2.target = base.gameObject; component2.functionName = "Pressed_Button_No2"; component2.trigger = UIButtonMessage.Trigger.OnClick; Set_Button_Sprite(value: true); _clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); _bVector = Vector3.one; }
private void Start() { _dialog_anime = false; _init_repair(); set_dialog_anime(value: false); _clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); }
public void _init_repair() { this._isBtnMaruUp = false; this.rep = GameObject.Find("Repair Root").GetComponent <repair>(); this.bd1 = GameObject.Find("board1_top/board").GetComponent <board>(); this.bd2 = GameObject.Find("board2").GetComponent <board2>(); iTween.ScaleTo(base.get_gameObject(), new Vector3(0.6f, 0.6f, 0.6f), 0f); this.dockSelectController = new KeyControl(0, 1, 0.4f, 0.1f); this.dockSelectController.setChangeValue(0f, 1f, 0f, -1f); this._uiOverlayButton4 = GameObject.Find("dialog4_top/dialog4/OverlayBtn4").GetComponent <UIButton>(); EventDelegate.Add(this._uiOverlayButton4.onClick, new EventDelegate.Callback(this._onClickOverlayButton4)); this._clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); this._bVector = Vector3.get_one(); }
public void _init_repair() { _isBtnMaruUp = false; rep = GameObject.Find("Repair Root").GetComponent <repair>(); bd1 = GameObject.Find("board1_top/board").GetComponent <board>(); bd2 = GameObject.Find("board2").GetComponent <board2>(); iTween.ScaleTo(base.gameObject, new Vector3(0.6f, 0.6f, 0.6f), 0f); dockSelectController = new KeyControl(0, 1); dockSelectController.setChangeValue(0f, 1f, 0f, -1f); _uiOverlayButton4 = GameObject.Find("dialog4_top/dialog4/OverlayBtn4").GetComponent <UIButton>(); EventDelegate.Add(_uiOverlayButton4.onClick, _onClickOverlayButton4); _clickmask = GameObject.Find("click_mask").GetComponent <repair_clickmask>(); _bVector = Vector3.one; }