Exemple #1
0
    private void ShowCameraBG()
    {
        KararaA.SetActive(false);
        Debug.Log("ShowCameraBG");
        if (AdClick1stTime)
        {
            Posture.SetActive(true);
            Show(CameraBackground);
            ChangeHintPos(HintPosCamera, 3);
            body.sprite = initialBody;
        }
        else
        {
            // set all children
            Posture.SetActive(true);
            Show(CameraBackground);
            CameraBackground.GetComponent <Image>().sprite = cameraBGFull;

            StartCoroutine(ShowShutterHint());


            //身上穿的衣服
            // if(isAlter) {body.sprite = pos0WorkAlter;}
            // else {body.sprite = pos0Work;}

            everything.sprite = null;
            HintScreen.transform.localPosition = HintPosShutter;
        }
    }
Exemple #2
0
    void BackToWashing()
    {
        KararaC.SetActive(true);
        KararaB.SetActive(false);

        KararaA.SetActive(false);


        timerStop = false;
    }
Exemple #3
0
    IEnumerator BackToSubway()
    {
        //出现fish喊话
        Show(scream);
        yield return(new WaitForSeconds(0.5f));

        KararaA.SetActive(true);
        yield return(new WaitForSeconds(0.5f));

        Hide(CameraBackground);
        Posture.SetActive(false);
    }
Exemple #4
0
    IEnumerator ShowExclamation()
    {
        yield return(new WaitForSeconds(1f));

        KararaA.SetActive(true);

        yield return(new WaitForSeconds(1f));

        Exclamation.SetActive(true);

        yield return(new WaitForSeconds(1f));

        if (stepCounter == 0)
        {
            Hint2D.SetActive(true);
        }
    }