PixelCrushers.DialogueSystem.ChatMapperConverter Class Reference

The Chat Mapper Converter editor window converts a Chat Mapper project into a DialogueDatabase asset. More...

Inheritance diagram for PixelCrushers.DialogueSystem.ChatMapperConverter:
Collaboration diagram for PixelCrushers.DialogueSystem.ChatMapperConverter:

Classes

class  Prefs
 This is the prefs (converter window settings) class. More...
 

Public Types

enum  ChatMapperProjectFormat { ChatMapperProjectFormat.Cmp, ChatMapperProjectFormat.Xml }
 

Public Member Functions

void OnEnable ()
 
void OnDisable ()
 
void OnGUI ()
 
void ConvertChatMapperProjects ()
 
void ConvertChatMapperProject (string projectFilename)
 

Static Public Member Functions

static void Init ()
 

Static Public Attributes

const string PrefsKey = "PixelCrushers.DialogueSystem.ChatMapperConverterPrefs"
 

Protected Attributes

Prefs prefs = null
 The prefs for the converter window. More...
 
Template template = null
 A reference to the Dialogue System template, used to create new dialogue database assets such as Actors, Items, and Conversations. More...
 
Vector2 scrollPosition = Vector2.zero
 The current scroll position of the converter window. More...
 

Properties

static ChatMapperConverter Instance [get]
 
static bool IsOpen [get]
 

Detailed Description

The Chat Mapper Converter editor window converts a Chat Mapper project into a DialogueDatabase asset.

With a Chat Mapper Indie License, you must first export your project to XML. With a Commercial License, the Chat Mapper Converter can run Chat Mapper on the command line to automatically export to XML.

Member Enumeration Documentation

◆ ChatMapperProjectFormat

Member Function Documentation

◆ ConvertChatMapperProject()

void PixelCrushers.DialogueSystem.ChatMapperConverter.ConvertChatMapperProject ( string  projectFilename)

◆ ConvertChatMapperProjects()

void PixelCrushers.DialogueSystem.ChatMapperConverter.ConvertChatMapperProjects ( )

◆ Init()

static void PixelCrushers.DialogueSystem.ChatMapperConverter.Init ( )
static

◆ OnDisable()

void PixelCrushers.DialogueSystem.ChatMapperConverter.OnDisable ( )

◆ OnEnable()

void PixelCrushers.DialogueSystem.ChatMapperConverter.OnEnable ( )

◆ OnGUI()

void PixelCrushers.DialogueSystem.ChatMapperConverter.OnGUI ( )

Member Data Documentation

◆ prefs

Prefs PixelCrushers.DialogueSystem.ChatMapperConverter.prefs = null
protected

The prefs for the converter window.

◆ PrefsKey

const string PixelCrushers.DialogueSystem.ChatMapperConverter.PrefsKey = "PixelCrushers.DialogueSystem.ChatMapperConverterPrefs"
static

◆ scrollPosition

Vector2 PixelCrushers.DialogueSystem.ChatMapperConverter.scrollPosition = Vector2.zero
protected

The current scroll position of the converter window.

If the contents of the window are larger than the current window size, the user can scroll up and down.

◆ template

Template PixelCrushers.DialogueSystem.ChatMapperConverter.template = null
protected

A reference to the Dialogue System template, used to create new dialogue database assets such as Actors, Items, and Conversations.

Property Documentation

◆ Instance

ChatMapperConverter PixelCrushers.DialogueSystem.ChatMapperConverter.Instance
staticget

◆ IsOpen

bool PixelCrushers.DialogueSystem.ChatMapperConverter.IsOpen
staticget

The documentation for this class was generated from the following file: