Exemplo n.º 1
0
        public void Conversions_MatchUnityEditor()
        {
            var hashEntities = new Hash128(1, 2, 3, 4);
            var hashUnity    = new UnityEditor.GUID("10000000200000003000000040000000");

            var hashUnityToEntities = (Hash128)hashUnity;
            var hashEntitiesToUnity = (UnityEditor.GUID)hashEntities;

            Assert.That(hashEntities, Is.EqualTo(hashUnityToEntities));
            Assert.That(hashUnity, Is.EqualTo(hashEntitiesToUnity));
        }
 public static GameObjectConversionSettings FromGUID(UnityEditor.GUID guid, BlobAssetStore blobAssetStore) => new GameObjectConversionSettings
 {
     SceneGUID = guid, BlobAssetStore = blobAssetStore
 };
Exemplo n.º 3
0
 private extern static void RegisterInternal(UnityEditor.GUID messageId);