Example #1
0
    public void EndMatch_Tut_S3()
    {
        // called from StationForButton.StationDetail()
        //弹窗漫画
        Debug.Log("?? EndMatch_Tut_S3");
        GoBackButton.GetComponent <Button>().enabled = true;
        isInstruction = false;
        Animator myAnim = matchButton.GetComponent <Animator>();

        myAnim.SetTrigger("idle");
    }
Example #2
0
    public IEnumerator EnterMap_Tut_S3()
    {
        isInstruction = true;
        Animator myAnim = MapInSubway.GetComponent <Animator>();

        myAnim.SetTrigger("idle");


        //car animation
        MapHint.gameObject.transform.parent        = waypoint1.transform;
        MapHint.gameObject.transform.localPosition = new Vector3(40f, -30f, 0);

        ShowHint();


        GoBackButton.SetActive(true);
        GoBackButton.GetComponent <Button>().enabled = false;
        yield return(null);
    }