public void beginFadeOut(float _fadeSpeed, Fade_callback _callback) { m_bFadeOut = true; m_bFadeIn = false; m_startBlurAmout = 0; Initalize (_fadeSpeed, _callback); }
public void beginFadeIn_WithBlur(float _fadeSpeed, float blurAmount, Fade_callback _callback) { m_bFadeIn = true; m_bFadeOut = false; m_startBlurAmout = blurAmount;//typical: 0.03f Initalize (_fadeSpeed, _callback); }
public void beginFadeOut(float _fadeSpeed, Fade_callback _callback) { m_bFadeOut = true; m_bFadeIn = false; m_startBlurAmout = 0; Initalize(_fadeSpeed, _callback); }
public void beginFadeIn_WithBlur(float _fadeSpeed, float blurAmount, Fade_callback _callback) { m_bFadeIn = true; m_bFadeOut = false; m_startBlurAmout = blurAmount; //typical: 0.03f Initalize(_fadeSpeed, _callback); }
void Initalize(float _fadeSpeed, Fade_callback _callback) { this.enabled = true; m_FadeCallback = _callback; m_fadeSpeed = _fadeSpeed; m_startFadeInOffset = 1; m_startFadeOutOffset = 0; }
void Initalize(float _fadeSpeed, Fade_callback _callback) { this.enabled = true; m_FadeCallback = _callback; m_fadeSpeed = _fadeSpeed; m_startFadeInOffset = 1; m_startFadeOutOffset = 0; }