Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Demkeys/b4cc09c58f179e605d779dd63003291d to your computer and use it in GitHub Desktop.
Save Demkeys/b4cc09c58f179e605d779dd63003291d to your computer and use it in GitHub Desktop.
Template file1 for ECS boilerplate code in Unity. Name this file '93-ECS__ECS Component C# Script-ECSNewComponentScript.cs.txt'.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Unity.Burst;
using Unity.Collections;
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Transforms;
[System.Serializable]
public struct #SCRIPTNAME# : IComponentData
{
}
public class #SCRIPTNAME#Component : ComponentDataProxy<#SCRIPTNAME#> { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment