private void Start() { this.goodToGo = true; if (!this.shader) { this.goodToGo = false; } if (!this.material) { this.material = new Material(this.shader); } if (!SystemInfo.supportsImageEffects || !SystemInfo.supportsRenderTextures) { this.goodToGo = false; } AtmospherePost.instance = this; }
private void Update() { AtmospherePost.instance = this; }
private void Awake() { AtmospherePost.instance = this; }