示例#1
0
    public void AddNodeToStory(string characterName, string storyLineId, string introductoryText, string[] playerResponses, string[] characterResponses, Event[] eventsToPublishOnReaching = null)
    {
        ServerResponse response = CharacterController.AddNodeToStory(characterName, storyLineId, introductoryText, playerResponses, characterResponses, eventsToPublishOnReaching);

        if (!response.error)
        {
            Debug.Log($"Success: New StoryLine");
        }
        else
        {
            Debug.Log("Failed");
        }
    }