Beispiel #1
0
 private void OnEnable()
 {
     if (!ME_ImageEffectHelper.IsSupported(shader, true, false, this))
     {
         enabled = false;
     }
 }
Beispiel #2
0
 private void OnEnable()
 {
     if (ME_ImageEffectHelper.IsSupported(this.shader, true, false, (MonoBehaviour)this))
     {
         return;
     }
     ((Behaviour)this).set_enabled(false);
 }