Ejemplo n.º 1
0
        void ReceiveRemoteScreenLandmarks(MessageEventArgs mea)
        {
            var landmarksRaw = mea.data.Deserialize <Dictionary <string, serializableVector2> >();
            var landmarks    = landmarksRaw.ToDictionary(pair => pair.Key, pair => (Vector2)pair.Value);

            UnityARSessionNativeInterface.SetStaticLandmark(landmarks);
            UnityARSessionNativeInterface.RunEditorLandmarkUpdateCallbacks();
        }