From d1476d641500b7930db3f4629bc3160b9c98e2b6 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Mon, 9 Jan 2023 16:36:11 -0800 Subject: [PATCH] make note about template feature --- src/System.cs | 1 + src/Template.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/System.cs b/src/System.cs index 37dd234..6d1d4dd 100644 --- a/src/System.cs +++ b/src/System.cs @@ -26,6 +26,7 @@ namespace MoonTools.ECS protected void Set(in Template template, in TComponent component) where TComponent : unmanaged => World.Set(template, component); + // This feature is EXPERIMENTAL. USe at your own risk!! protected Entity Instantiate(in Template template) => World.Instantiate(template); protected ReadOnlySpan ReadMessages() where TMessage : unmanaged diff --git a/src/Template.cs b/src/Template.cs index c2c25b7..7654b7a 100644 --- a/src/Template.cs +++ b/src/Template.cs @@ -1,5 +1,6 @@ namespace MoonTools.ECS { + // This feature is EXPERIMENTAL. Use at your own risk!! public struct Template { public int ID { get; }