C# Класс PantheonPrototype.DialogueNode

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
nextState int
text string

Открытые методы

Метод Описание
DialogueNode ( int nextState, string text ) : System

This is the constructor for a basic dialogue node.

Execute ( string param ) : void

This is a function that does stuff. It will allow nodes to execute some sort of code so that expansion of the dialogue events can happen. A arbitrary string for paraming things.

Описание методов

DialogueNode() публичный Метод

This is the constructor for a basic dialogue node.
public DialogueNode ( int nextState, string text ) : System
nextState int The next state that the node should go to. States start at 0 and specifying a value of 0 will end conversation.
text string The text in the node in question.
Результат System

Execute() публичный Метод

This is a function that does stuff. It will allow nodes to execute some sort of code so that expansion of the dialogue events can happen. A arbitrary string for paraming things.
public Execute ( string param ) : void
param string
Результат void

Описание свойств

nextState защищенное свойство

protected int nextState
Результат int

text защищенное свойство

protected string text
Результат string