public override void Draw() { if (_model == null) { return; } base.Draw(); if (Event.current.type == EventType.Repaint) { foreach (var obj in _obj) { obj.transform.Rotate(0, 0.5f, 0); } if (CameraLeft.gameObject.activeSelf) { CameraLeft.Render(); if (CameraRight != null) { CameraRight.Render(); } } GUI.DrawTexture(ZoomInRect, _plusIcon); GUI.DrawTexture(ZoomOutRect, _minusIcon); } }
public void Camera_Left_CapToSave(string SavePath, string FileType) { CameraLeft.ShotToSaveImage(SavePath, FileType); }
public Bitmap Camera_Left_Cap() { return(CameraLeft.Shot()); }