C# Class TimeTicker, UnityHello

ファイルを表示 Open project: woshihuo12/UnityHello Class Usage Examples

Public Properties

Property Type Description
OnEnd Action
OnTick Action

Protected Properties

Property Type Description
mFreq float
mIsTicking bool
mNowTime float
mReverse bool
mTimer UniTimer,
mTotalTime float

Public Methods

Method Description
IsPause ( ) : bool
Pause ( bool pause ) : void
Start ( float time ) : void
StartReverse ( float time ) : void
Stop ( ) : void
TimeTicker ( ) : UnityEngine

Private Methods

Method Description
end ( ) : void
init ( float time, bool reverse ) : void
tick ( ) : void

Method Details

IsPause() public method

public IsPause ( ) : bool
return bool

Pause() public method

public Pause ( bool pause ) : void
pause bool
return void

Start() public method

public Start ( float time ) : void
time float
return void

StartReverse() public method

public StartReverse ( float time ) : void
time float
return void

Stop() public method

public Stop ( ) : void
return void

TimeTicker() public method

public TimeTicker ( ) : UnityEngine
return UnityEngine

Property Details

OnEnd public_oe property

public Action OnEnd
return Action

OnTick public_oe property

public Action OnTick
return Action

mFreq protected_oe property

protected float mFreq
return float

mIsTicking protected_oe property

protected bool mIsTicking
return bool

mNowTime protected_oe property

protected float mNowTime
return float

mReverse protected_oe property

protected bool mReverse
return bool

mTimer protected_oe property

protected UniTimer, mTimer
return UniTimer,

mTotalTime protected_oe property

protected float mTotalTime
return float