コード例 #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();
        }
コード例 #4
0
 public void OnEnable()
 {
     pa = target as Effect_ModifSceneBrightness;
 }