diff --git a/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring.meta b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring.meta new file mode 100644 index 0000000000..71b9ad7095 --- /dev/null +++ b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 217ac7615afa42947b7ace1964a300fc +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs new file mode 100644 index 0000000000..c20dc5da52 --- /dev/null +++ b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; + +namespace Improbable.Gdk.Core.SceneAuthoring +{ + public interface IConvertGameObjectToSpatialOsEntity + { + List Convert(); + } + + public readonly struct ConvertedEntity + { + public readonly EntityId? EntityId; + public readonly EntityTemplate Template; + + public ConvertedEntity(EntityId entityId, EntityTemplate template) + { + EntityId = entityId; + Template = template; + } + + public ConvertedEntity(EntityTemplate template) + { + EntityId = null; + Template = template; + } + } +} diff --git a/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs.meta b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs.meta new file mode 100644 index 0000000000..ba37cf8d2b --- /dev/null +++ b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/IConvertGameObjectToSpatialOsEntity.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: d8f2dbc8213c4193b024d560f563c92e +timeCreated: 1598525989 \ No newline at end of file diff --git a/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs new file mode 100644 index 0000000000..bd9dec3c50 --- /dev/null +++ b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs @@ -0,0 +1,7 @@ +namespace Improbable.Gdk.Core.SceneAuthoring +{ + public interface ISpatialOsAuthoringComponent + { + void WriteTo(EntityTemplate template); + } +} diff --git a/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs.meta b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs.meta new file mode 100644 index 0000000000..21fa913bf1 --- /dev/null +++ b/workers/unity/Packages/io.improbable.gdk.core/SceneAuthoring/ISpatialOsAuthoringComponent.cs.meta @@ -0,0 +1,3 @@ +fileFormatVersion: 2 +guid: a2d0af876a0e4e7898a69124eab1b5c3 +timeCreated: 1598525963 \ No newline at end of file