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