Esempio n. 1
0
 /// <summary>
 /// Sets the unique name of the sprite sheet.
 /// </summary>
 /// <param name="uniqueName">
 /// A name that is unique among sprite sheets in the project.
 /// </param>
 public void SetName(string uniqueName)
 {
     Name = uniqueName;
     NameUpdated?.Invoke(uniqueName);
 }
Esempio n. 2
0
 protected virtual void OnNameUpdated()
 => NameUpdated?.Invoke(this, EventArgs.Empty);