Now renders func brush materials correclty

This commit is contained in:
Antoine Pilote
2024-08-31 12:33:48 -04:00
parent 8aa41a1bf8
commit f59a7e931f
8 changed files with 76 additions and 25 deletions

View File

@@ -201,7 +201,7 @@ namespace Nuake.Net
return (T?)Activator.CreateInstance(typeof(T), ECSHandle);
}
return null;
throw new Exception("Component not found: " + typeof(T).GetType().Name);
}
public T? GetEntity<T>(string path) where T : Entity

View File

@@ -49,6 +49,19 @@ namespace Nuake.Net
}
}
[AttributeUsage(AttributeTargets.Class)]
public sealed class PointScript : Attribute
{
public string Description = "";
public bool IsTrigger = false;
public PointScript(string description = "")
{
Description = description;
IsTrigger = isTrigger;
}
}
public class Debug
{
internal static unsafe delegate*</* start */ float, float, float,