C# 클래스 ProblemPart, thinksy_unity_plugin

파일 보기 프로젝트 열기: senseix/thinksy_unity_plugin 1 사용 예제들

공개 메소드들

메소드 설명
CreateProblemPart ( Senseix newAtom ) : ProblemPart,
CreateProblemPart ( int number ) : ProblemPart,
CreateProblemPart ( string text ) : ProblemPart,
GetAtom ( ) : Senseix.Message.Atom.Atom
GetInteger ( ) : int
GetSprite ( ) : Sprite
GetString ( ) : string
GetUniqueID ( ) : string

This is a uuid for this problem part. But, most likely, from your perspective, it's just a meaningless string.

HasInteger ( ) : bool
HasSprite ( ) : bool
HasString ( ) : bool
IsMultipleChoiceLetter ( ) : bool

Determines whether this instance is multiple choice letter.

ProblemPart ( Senseix newAtom ) : System
ProblemPart ( string textContent ) : System

This will build a text ProblemPart. Hot tip: numbers are actually text ProblemParts. If the text happens to be numbers, it will be treated as such.

ProblemPart ( string filename, bool isPretty ) : System

This will build an image ProblemPart. The filename references only Sprites from resources.

TimesRepeated ( ) : int

메소드 상세

CreateProblemPart() 공개 정적인 메소드

public static CreateProblemPart ( Senseix newAtom ) : ProblemPart,
newAtom Senseix
리턴 ProblemPart,

CreateProblemPart() 공개 정적인 메소드

public static CreateProblemPart ( int number ) : ProblemPart,
number int
리턴 ProblemPart,

CreateProblemPart() 공개 정적인 메소드

public static CreateProblemPart ( string text ) : ProblemPart,
text string
리턴 ProblemPart,

GetAtom() 공개 메소드

public GetAtom ( ) : Senseix.Message.Atom.Atom
리턴 Senseix.Message.Atom.Atom

GetInteger() 공개 메소드

public GetInteger ( ) : int
리턴 int

GetSprite() 공개 메소드

public GetSprite ( ) : Sprite
리턴 Sprite

GetString() 공개 메소드

public GetString ( ) : string
리턴 string

GetUniqueID() 공개 메소드

This is a uuid for this problem part. But, most likely, from your perspective, it's just a meaningless string.
public GetUniqueID ( ) : string
리턴 string

HasInteger() 공개 메소드

public HasInteger ( ) : bool
리턴 bool

HasSprite() 공개 메소드

public HasSprite ( ) : bool
리턴 bool

HasString() 공개 메소드

public HasString ( ) : bool
리턴 bool

IsMultipleChoiceLetter() 공개 메소드

Determines whether this instance is multiple choice letter.
public IsMultipleChoiceLetter ( ) : bool
리턴 bool

ProblemPart() 공개 메소드

public ProblemPart ( Senseix newAtom ) : System
newAtom Senseix
리턴 System

ProblemPart() 공개 메소드

This will build a text ProblemPart. Hot tip: numbers are actually text ProblemParts. If the text happens to be numbers, it will be treated as such.
public ProblemPart ( string textContent ) : System
textContent string
리턴 System

ProblemPart() 공개 메소드

This will build an image ProblemPart. The filename references only Sprites from resources.
public ProblemPart ( string filename, bool isPretty ) : System
filename string
isPretty bool
리턴 System

TimesRepeated() 공개 메소드

public TimesRepeated ( ) : int
리턴 int