public virtual void DoMirror() { if (Application.isPlaying) { return; } if (this.mirror == null) { this.mirror = new EZScreenPlacementMirror(); this.mirror.Mirror(this); } this.mirror.Validate(this); if (this.mirror.DidChange(this)) { this.SetCamera(this.renderCamera); this.mirror.Mirror(this); } }
public virtual void DoMirror() { // Only run if we're not playing: if (Application.isPlaying) { return; } if (mirror == null) { mirror = new EZScreenPlacementMirror(); mirror.Mirror(this); } mirror.Validate(this); // Compare our mirrored settings to the current settings // to see if something was changed: if (mirror.DidChange(this)) { SetCamera(renderCamera); mirror.Mirror(this); // Update the mirror } }
public virtual void DoMirror() { // Only run if we're not playing: if (Application.isPlaying) return; if (mirror == null) { mirror = new EZScreenPlacementMirror(); mirror.Mirror(this); } mirror.Validate(this); // Compare our mirrored settings to the current settings // to see if something was changed: if (mirror.DidChange(this)) { SetCamera(renderCamera); mirror.Mirror(this); // Update the mirror } }