Skip to content

Instantly share code, notes, and snippets.

View BlindsidedGames's full-sized avatar
🐈

BlindsidedGames

🐈
  • BlindsidedGames
  • Australia
View GitHub Profile
@yasirkula
yasirkula / SlicedFilledImage.cs
Last active April 20, 2024 12:29
Combining UI Image's Sliced+Filled features together in Unity
using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_2017_4 || UNITY_2018_2_OR_NEWER
using UnityEngine.U2D;
#endif
using Sprites = UnityEngine.Sprites;
#if UNITY_EDITOR