@@ -543,7 +543,7 @@ void Actor::SetLayerRecursive(int32 layerIndex)
|
||||
OnLayerChanged();
|
||||
}
|
||||
|
||||
void Actor::SetNameNoCopy(String&& value)
|
||||
void Actor::SetName(String&& value)
|
||||
{
|
||||
if (_name == value)
|
||||
return;
|
||||
|
||||
@@ -182,15 +182,16 @@ public:
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sets the actor name without copying the string.
|
||||
/// Sets the actor name.
|
||||
/// </summary>
|
||||
void SetNameNoCopy(String&& value);
|
||||
/// <param name="value">The value to set.</param>
|
||||
API_PROPERTY() void SetName(String&& value);
|
||||
|
||||
/// <summary>
|
||||
/// Sets the actor name.
|
||||
/// </summary>
|
||||
/// <param name="value">The value to set.</param>
|
||||
API_PROPERTY() void SetName(const StringView& value);
|
||||
void SetName(const StringView& value);
|
||||
|
||||
public:
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user