Response.getNextNode C# (CSharp) Méthode

getNextNode() public méthode

public getNextNode ( ) : int
Résultat int
    public int getNextNode()
    {
        return nextNode;
    }

Usage Example

    //Continues the conversation based on what the player responded
    public override void Respond(Response response)
    {
        if(debug)
            Debug.Log("Previous Current Node: "+currentNode.getId());

        currentNode = g.getNode(response.getNextNode());

        if(debug)
            Debug.Log("Current Node: "+currentNode.getId());
    }