The Code to produce
`
using Unity.Entities;
using UnityEngine;
public partial class TestSystem : SystemBase {
protected override void OnUpdate() {
}
}
public class Test : MonoBehaviour
{
World world;
TestSystem testSystem;
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
world = new World("TestWorld");
testSystem = (TestSystem)world.GetOrCreateSystemManaged(typeof(TestSystem));
}
// Update is called once per frame
void Update()
{
}
private void OnDestroy() {
world.DestroySystemManaged(testSystem);
world.Dispose();
}
}
`