Skip to content

Instantly share code, notes, and snippets.

View MarkZaytsev's full-sized avatar

Mark Zaytsev MarkZaytsev

  • Russia, Novosibirsk
View GitHub Profile
@yasirkula
yasirkula / SceneViewUIObjectPickerContextWindow.cs
Last active June 1, 2025 14:46
Select the UI object under the cursor via right click in Unity's Scene window
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using UnityEditor;
using UnityEngine;
using UnityEngine.UI;
#if UNITY_2021_2_OR_NEWER
using PrefabStage = UnityEditor.SceneManagement.PrefabStage;
using PrefabStageUtility = UnityEditor.SceneManagement.PrefabStageUtility;
@yasirkula
yasirkula / WavyImage.cs
Last active June 6, 2025 07:47
Create UI image with wave animation in Unity
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Sprites;
using UnityEngine.UI;
#if UNITY_2017_4 || UNITY_2018_2_OR_NEWER
using UnityEngine.U2D;
#endif
#if UNITY_EDITOR
using UnityEditor;
@edjdavid
edjdavid / pp_motion_interp.md
Created August 13, 2020 12:39
PotPlayer Motion Interpolation
@yasirkula
yasirkula / SlicedFilledImage.cs
Last active June 6, 2025 06:41
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
@hurricane-voronin
hurricane-voronin / README.md
Last active June 4, 2025 18:06
Naming Classes Without a 'Manager'