Ejemplo n.º 1
0
    public void clickOKButton()
    {
        tObj.actionTapEffect();

        if (!this.sorityCharaNothing())
        {
            //todo 中止時のメッセージ表示
            return;
        }

        //この時点で staticValueManager に入れてしまう
        bool[] tmpB = fIC.getSorityStatus();
        sVMS.setSortieCharaNo(tmpB);

        _yesNoDialog.SetActive(true);
    }
Ejemplo n.º 2
0
    //public delegate void OnNodeClickEvent();
    //public event EventHandler OnClick;

    public void OnClick_EventTrigger()
    {
        if (thisStage == null)
        {
            Debug.Log("このオブジェクトを使用するのに、初期化されていません。:battleStageSelectVal");
        }
        //マネージャの取得
        stageSelectManagerScript tmpMnger = stageSelectManagerGetter.getsceneSelectManager();

        //BGの設定先のイメージ
        tmpMnger.setbackGroundImage(thisStage.bgImage);


        Vector2    mouseDown = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        GameObject tapEffect = Instantiate(_TapEffectPrefab) as GameObject;

        tapEffect.transform.position = mouseDown;

        sSMS.setStageInfoText(thisStage.stageTitle, thisStage.stageComment);

        //タップエフェクト
        tapS.actionTapEffect();
        //選択結果を返す
        sSMS.setSelecedStageVal(thisStage);
    }
Ejemplo n.º 3
0
    void OnMouseDown()
    {
        tapM = this.GetComponent <tapedObjectMotion> ();
        tapM.actionTapEffect();

        Instantiate(_optionMenuPrefab);
    }
Ejemplo n.º 4
0
    public void OnClick_EventTrigger()
    {
        Vector2    mouseDown = Camera.main.ScreenToWorldPoint(Input.mousePosition);
        GameObject tapEffect = Instantiate(_TapEffectPrefab) as GameObject;

        tapEffect.transform.position = mouseDown;

        //タップエフェクト
        tapS.actionTapEffect();

        this.selectedNodeAction();
    }
Ejemplo n.º 5
0
    public void clickIcon()
    {
        tapSc.actionTapEffect();

        if (_thisIndex != fIC.selectedIconIndex)
        {
            //未選択から選択へ

            fIC.showSelectedCharaInfo(_thisIndex);
            charaDotScript.setAnimation(_thisIndex);
            sMB.playOneShotSound(enm_oneShotSound.nomalButton);

            return;
        }

        if (thisRockFlag == true)
        {
            //ロックされている場合は無視
            sMB.playOneShotSound(enm_oneShotSound.skillCancel);
            return;
        }

        sMB.playOneShotSound(enm_oneShotSound.nomalButton);

        if (thisSorityFlag)
        {
            //既に選択状態である
            thisSorityFlag = false;

            Color tmpC = new Color(0.3f, 0.3f, 0.3f);
            this.GetComponent <Image>().color = tmpC;
            checkIcon.sprite = _iconNoChecked;
        }
        else
        {
            // check off
            thisSorityFlag = true;

            Color tmpC = new Color(1f, 1f, 1f);
            this.GetComponent <Image>().color = tmpC;
            checkIcon.sprite = _iconChecked;
        }
    }