Пример #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
        }
    }