예제 #1
0
 public void OnDestroy()
 {
     if (activeInstance == this)
     {
         activeInstance = null;
     }
 }
예제 #2
0
 public void Stop()
 {
     if (activeInstance == this)
     {
         activeInstance = null;
         ImageEffects.ImageEffectManager.API_ResetSceneBrightness();
     }
     Stop_Constant();
     Stop_Curve();
     bPlay = false;
 }
예제 #3
0
        public void Play()
        {
            if (activeInstance)
            {
                return;
            }

            Stop();
            activeInstance = this;
            bPlay          = true;
            ResetValue();
        }
 public void OnEnable()
 {
     pa = target as Effect_ModifSceneBrightness;
 }