Ejemplo n.º 1
0
        NodeVal displayReaction()
        {
            if (thisPed.isTalker)
            {
                thisPed.reaction.transform.parent.gameObject.SetActive(true);
                thisPed.reaction.gameObject.SetActive(true);
                thisPed.closePedScr.reaction.transform.parent.gameObject.SetActive(true);
                thisPed.closePedScr.reaction.gameObject.SetActive(true);
                // Debug.Log("got here");
                thisPed.displayReaction(thisPed.checkReaction());
                thisPed.closePedScr.displayReaction(thisPed.closePedScr.checkReaction());
            }

            return(NodeVal.Success);
        }