C# 클래스 LeopotamGroup.Tutorials.TutorialManager

Tutorial stages processing. Progress will be autosaved to PlayerPrefs.
상속: UnitySingletonBase
파일 보기 프로젝트 열기: Leopotam/LeopotamGroupLibraryUnity

공개 메소드들

메소드 설명
ClearAllScreensData ( bool sendEvent = false ) : void

Clears full tutorial data (for all screens).

GetMask ( ) : TutorialMask

Get mask for current screen.

LoadData ( ) : void
RaiseNextBit ( ) : void

Raises next bit in sequence of stages for current screen.

SaveData ( ) : void
SetAll ( bool state ) : void

Sets all bits to new state for current screen.

SetMask ( TutorialMask mask, bool state = true ) : void

Set masked bits additive to new state for current screen.

ValidateMask ( TutorialMask mask ) : bool

Are masked bits enabled for current screen.

보호된 메소드들

메소드 설명
OnConstruct ( ) : void

메소드 상세

ClearAllScreensData() 공개 메소드

Clears full tutorial data (for all screens).
public ClearAllScreensData ( bool sendEvent = false ) : void
sendEvent bool If set to true send event.
리턴 void

GetMask() 공개 메소드

Get mask for current screen.
public GetMask ( ) : TutorialMask
리턴 TutorialMask

LoadData() 공개 메소드

public LoadData ( ) : void
리턴 void

OnConstruct() 보호된 메소드

protected OnConstruct ( ) : void
리턴 void

RaiseNextBit() 공개 메소드

Raises next bit in sequence of stages for current screen.
public RaiseNextBit ( ) : void
리턴 void

SaveData() 공개 메소드

public SaveData ( ) : void
리턴 void

SetAll() 공개 메소드

Sets all bits to new state for current screen.
public SetAll ( bool state ) : void
state bool New state.
리턴 void

SetMask() 공개 메소드

Set masked bits additive to new state for current screen.
public SetMask ( TutorialMask mask, bool state = true ) : void
mask TutorialMask Masked bits.
state bool New state.
리턴 void

ValidateMask() 공개 메소드

Are masked bits enabled for current screen.
public ValidateMask ( TutorialMask mask ) : bool
mask TutorialMask Mask.
리턴 bool