Skip to content

Unity5 refactor#28

Merged
rpavlik merged 5 commits intoOSVR:masterfrom
DuFF14:Unity5Refactor
Mar 20, 2015
Merged

Unity5 refactor#28
rpavlik merged 5 commits intoOSVR:masterfrom
DuFF14:Unity5Refactor

Conversation

@DuFF14
Copy link
Copy Markdown
Member

@DuFF14 DuFF14 commented Mar 12, 2015

Should be a clean upgrade to Unity5 now.
Fixed VRHead and VReye to compensate for overlap and roll, but need a dSight to test on. Looks correct.
Added the Newtonsoft DLL to plugins folder and removed SimpleJSON, modified parsing code in DeviceDescriptor to match.
VRDisplayTracked prefab will use HDK descriptor by default.

DuFF14 added 2 commits March 12, 2015 11:12
Added fields for vendor, model, version, note, and a ToString() override to DeviceDescriptor.cs
Replaced SimpleJSON with Newtonsoft Json.NET, parsing changes in DisplayInterface.cs
Refactored VREye.cs and VRHead.cs for easy Unity5 upgrade.
@rpavlik
Copy link
Copy Markdown
Member

rpavlik commented Mar 12, 2015

So does this work with Unity 4.6.x still? Does the same package work with both versions?

(The CI nodes currently have 4.6 licenses)

@DuFF14
Copy link
Copy Markdown
Member Author

DuFF14 commented Mar 12, 2015

Works with both.

@rpavlik
Copy link
Copy Markdown
Member

rpavlik commented Mar 16, 2015

Can you add a changes file (like the one in OSVR core) that explains any changes that may affect how people use the package, and in particular upgrade?

@DuFF14
Copy link
Copy Markdown
Member Author

DuFF14 commented Mar 18, 2015

Done. Will keep the changes file updated in future commits.

…y5Refactor

Conflicts:
	OSVR-Unity/Assets/OSVRUnity/src/DisplayInterface.cs

Moved the debug text from DisplayInterface's json parsing method to DeviceDescriptor's ToString().
rpavlik added a commit that referenced this pull request Mar 20, 2015
Unity5 compatibility refactor, update to JSON display parsing (using Newtonsoft.JSON)
@rpavlik rpavlik merged commit 9db262b into OSVR:master Mar 20, 2015
@DuFF14 DuFF14 deleted the Unity5Refactor branch May 25, 2015 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants