Merge pull request #72633 from RedworkDE/net-stringname-iequatable
C#: Declare `IEquatable<>` interface for `StringName`
This commit is contained in:
commit
91dfd6484b
@ -10,7 +10,7 @@ namespace Godot
|
|||||||
/// Comparing them is much faster than with regular strings, because only the pointers are compared,
|
/// Comparing them is much faster than with regular strings, because only the pointers are compared,
|
||||||
/// not the whole strings.
|
/// not the whole strings.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class StringName : IDisposable
|
public sealed class StringName : IDisposable, IEquatable<StringName>
|
||||||
{
|
{
|
||||||
internal godot_string_name.movable NativeValue;
|
internal godot_string_name.movable NativeValue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user