Awesome
Ong-Sharing-Drag-n-Drop
Tested in Unity 2018.1.9f1 and 2018.1.9f2
Instructions for Legacy MRTK:
-
Import the OngDragDropSharing.unitypackage into project
-
If asked, please enter in the following Photon code: 8bdcbdce-1ef6-4860-9e27-953ba9d52f88 (Note - this is a test Photon ID code to use. You will need to obtain your own Photon code for apps)
-
Drag and drop the "OngSharingDragDrop" prefab (located within the OngSharing folder) into your scene
-
Drag and drop anything in your scene that you want to share as a child of the OngSharingDragDrop prefab in your scene.
Your app is now a shared experience! All actions will be shared. Note: Sharing of app states is not yet supported.
To enable real-time movement syncing of objects:
- On the object you want to sync movements, drag and drop (or insert) the PhotonTransformView script
- Select any or all syncing features (position, rotation, scale)
- Drag the PhotonTransformView script into the "Observed Components" empty field (it will automatically be generated on your object)
- In the PhotonView script (it was automatically generated) - select the dropdown list and change it from "Fixed" to "Takeover" - this allows all people to takeover ownership, rather than just letting ownership of that object be fixed to the first person who joined.