CustomAssets
Askowl Custom Assets
CustomAsset.Constant.QuoteSet Class Reference

Class for picking one or a list of quotes - either set in the inspector or in a separate text file. Each quote is on a separate line in the form: More...

Inheritance diagram for CustomAsset.Constant.QuoteSet:

Static Public Member Functions

static void Rtf (Fifo< string > to, string[] from)
 Turn a list of strings into a list of formatted quotes More...
 
static string Rtf (string quote)
 Turn a string into a quote. Any text at the end of the string that is in brackets becomes an attribution in grey More...
 

Public Attributes

int Count => Selector.Choices.Length
  More...
 

Protected Member Functions

override void BuildSelector ()
  More...
 

Detailed Description

Member Function Documentation

◆ BuildSelector()

override void CustomAsset.Constant.QuoteSet.BuildSelector ( )
protected

Definition at line 16 of file Quotes.cs.

◆ Rtf() [1/2]

static void CustomAsset.Constant.QuoteSet.Rtf ( Fifo< string >  to,
string []  from 
)
static

◆ Rtf() [2/2]

static string CustomAsset.Constant.QuoteSet.Rtf ( string  quote)
static

Member Data Documentation

◆ Count

int CustomAsset.Constant.QuoteSet.Count => Selector.Choices.Length

Definition at line 29 of file Quotes.cs.


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