Пример #1
0
 private static void DeregisterCustomSprite(CustomSprite sprite)
 {
     Log.DebugLog($"[CUSTOM SPRITE]({sprite.tag}) has been removed from register");
     allCustomSprites.Remove(sprite);
 }
Пример #2
0
 private static void RegisterCustomSprite(CustomSprite sprite)
 {
     Log.DebugLog($"[CUSTOM SPRITE]({sprite.tag}) has been registered");
     allCustomSprites.Add(sprite);
 }