add scenes in build.
This commit is contained in:
Binary file not shown.
@@ -30,7 +30,7 @@ public class MultipleMonitorCreator : MonoBehaviour
|
|||||||
var texture = go.GetComponent<uDesktopDuplication.Texture>();
|
var texture = go.GetComponent<uDesktopDuplication.Texture>();
|
||||||
var halfWidth = texture.monitor.width * ratio * scale / 2;
|
var halfWidth = texture.monitor.width * ratio * scale / 2;
|
||||||
x += halfWidth;
|
x += halfWidth;
|
||||||
go.transform.position = new Vector3(x, 0f, 0f);
|
go.transform.localPosition = new Vector3(x, 0f, 0f);
|
||||||
x += halfWidth + margin;
|
x += halfWidth + margin;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user