Example #1
0
 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;
 }
Example #2
0
 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;
 }
Example #3
0
 private void Update()
 {
     AtmospherePost.instance = this;
 }
Example #4
0
 private void Awake()
 {
     AtmospherePost.instance = this;
 }
Example #5
0
 private void Update()
 {
     AtmospherePost.instance = this;
 }
Example #6
0
 private void Awake()
 {
     AtmospherePost.instance = this;
 }