mirror of
https://github.com/antopilo/Nuake.git
synced 2026-01-04 22:10:34 +03:00
Now renders func brush materials correclty
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user