mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
C#: Declare IEquatable<> interface for StringName
This commit is contained in:
@@ -10,7 +10,7 @@ namespace Godot
|
||||
/// Comparing them is much faster than with regular strings, because only the pointers are compared,
|
||||
/// not the whole strings.
|
||||
/// </summary>
|
||||
public sealed class StringName : IDisposable
|
||||
public sealed class StringName : IDisposable, IEquatable<StringName>
|
||||
{
|
||||
internal godot_string_name.movable NativeValue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user