using UnityEngine; public static class EmptySprite { private static Sprite instance; public static Sprite Get() { if (instance == null) { instance = Resources.Load("procedural_ui_image_default_sprite"); } return instance; } public static bool IsEmptySprite(Sprite s) { if (Get() == s) { return true; } return false; } }