© 2026 Hedgehog Software, LLC
public T AddComponent<T>() where T: Component, new() { Component component = new T(this); return (T)AddComponent(component); }
T
'T': cannot provide arguments when creating an instance of a variable type
Component