mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Overload '->' operator for TreeNode
This commit is contained in:
@@ -44,6 +44,11 @@ namespace GlitchyEngine.Collections
|
|||||||
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static ref T operator ->(TreeNode<T> node)
|
||||||
|
{
|
||||||
|
return ref node.Value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static
|
static
|
||||||
|
|||||||
Reference in New Issue
Block a user