コード例 #1
0
    //Infoの動き
    IEnumerator InformationMove()
    {
        enemyInfo.DOLocalMove(new Vector3(155, 18, 0), 0.6f).SetEase(Ease.InQuint);          //ぶつかる位置
        yield return(new WaitForSeconds(0.6f));

        enemyInfo.DOLocalMove(new Vector3(205, 18, 0), 0.3f).SetEase(Ease.OutExpo);          //FIX位置

        //両者ぶるぶる震える
        playerBox.DOShakePosition(1f, 20, 50, 180, true);
        enemyBox.DOShakePosition(1f, 20, 50, 180, true);

        //退出ボタン消える
        Return_Button.SetActive(false);
        SearchInfo.SetActive(false);
    }
コード例 #2
0
    //Matching_BoxMove========================================================================

    void BoxMoveReset()
    {
        enemyInfo.localPosition = new Vector3(593, 18, 0);
        Return_Button.SetActive(false);
        SearchInfo.SetActive(true);
    }