Ejemplo n.º 1
0
    public void SetDialogue(int gHeadIndex, string t, MenuDisplayAnim.AnimType animType)
    {
        gameObject.SetActive(true);

        SetHeadIndex(gHeadIndex);

        SetText(t);

        SetDialogueInset(animType);
    }
Ejemplo n.º 2
0
    public void SetDialogueOut(MenuDisplayAnim.AnimType type)
    {
        state = 3;

        if (menuAnim == null)
        {
            menuAnim = GetComponent <MenuDisplayAnim>();
        }

        menuAnim.SetAnim(type);
    }
Ejemplo n.º 3
0
    public void SetDialogueInset(MenuDisplayAnim.AnimType type)
    {
        state    = 0;
        timeTick = 0;

        if (menuAnim == null)
        {
            menuAnim = GetComponent <MenuDisplayAnim>();
        }

        menuAnim.SetAnim(type);
    }