示例#1
0
 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);
     }
 }
示例#2
0
    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
        }
    }
示例#3
0
    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
        }
    }