Skip to content

Instantly share code, notes, and snippets.

View mlhtnc's full-sized avatar

Melih Tunç mlhtnc

View GitHub Profile
@ilkinulas
ilkinulas / logcat_unity.py
Last active November 8, 2022 19:18
Formats unity (adb) logcat logs
#!/usr/bin/python
#
# Usage:
# adb logcat -v time | python logcat_unity.py
import sys
import re
IGNORED_LINES=["(Filename:"]
LOG_TAG="Unity"
@yasirkula
yasirkula / SlicedFilledImage.cs
Last active February 29, 2024 18:48
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