Entitas  0.35.0
Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
PoolAttribute.cs
1 using System;
2 
3 namespace Entitas.CodeGenerator {
4 
5  [AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface | AttributeTargets.Struct, AllowMultiple = true)]
6  public class PoolAttribute : Attribute {
7 
8  public readonly string poolName;
9 
10  // TODO Try to use this again as soon Unity updates to newer mono
11  //public PoolAttribute(string poolName = CodeGenerator.DEFAULT_POOL_NAME) {
12  public PoolAttribute(string poolName = "Pool") {
13  this.poolName = poolName;
14  }
15  }
16 }