14 lines
271 B
C#
14 lines
271 B
C#
namespace Godot.SourceGenerators.Sample;
|
|
|
|
[GlobalClass]
|
|
public partial class CustomGlobalClass : GodotObject
|
|
{
|
|
}
|
|
|
|
// This doesn't works because global classes can't have any generic type parameter.
|
|
/*
|
|
[GlobalClass]
|
|
public partial class CustomGlobalClass<T> : Node
|
|
{
|
|
}
|
|
*/
|