Skip to content

Instantly share code, notes, and snippets.

View michael811125's full-sized avatar

MichaelO michael811125

View GitHub Profile
@YashVakil96
YashVakil96 / RectTransformTools.cs
Last active September 7, 2023 04:35
Set Custom Anchor Position of the UI Element | Unity
using UnityEngine;
using UnityEditor;
public class RectTransformTools {
[MenuItem("GameObject/Adjust RectTransform Anchors &a")]
static void Adjust()
{
foreach(GameObject gameObject in Selection.gameObjects){
adjustRectTransform(gameObject);
@BocuD
BocuD / PrefabFixer.cs
Created July 4, 2022 02:07
Prefab Fixer editor tool
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class PrefabFixer : EditorWindow
{
[MenuItem("Tools/Prefab Fixer")]
public static void ShowWindow()
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<title>Rebane's Discord Colored Text Generator</title>
<meta charset="UTF-8">
<meta name="description" content="Rebane's Discord Colored Text Generator">
<meta name="author" content="rebane2001">
<style>
/*
@Chillu1
Chillu1 / FullscreenGameView.cs
Last active May 16, 2025 13:08
FullscreenGameView utility, for automatic fullscreen on play with toggle option (Game view fullscreen in editor)
/*
MIT License
Copyright (c) 2021 Chillu
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@Goropocha
Goropocha / SignInWithApplePostprocessor.cs
Created March 27, 2021 08:13
Sign in with Apple Unity Plugin の Xcode 設定自動化
#if UNITY_IOS
using UnityEditor;
using UnityEditor.Build;
using UnityEditor.Build.Reporting;
using UnityEditor.iOS.Xcode;
using AppleAuth.Editor;
/// <summary>
/// Xcode 設定自動化
/// </summary>
@Sov3rain
Sov3rain / ScrollRectExtensions.cs
Last active August 2, 2024 06:28
Tell the Unity Scroll Rect View to snap to the given element (top).
using UnityEngine;
using UnityEngine.UI;
public static class ScrollRectExtensions
{
/// <summary>
/// Tell the Scroll Rect View to snap to the given element (top).
/// </summary>
public static void SnapTo(
this ScrollRect scrollRect,
@emilianavt
emilianavt / BestVTuberSoftware.md
Last active November 21, 2025 08:25
Best VTuber Software

Best VTuber software

This is a list of the most commonly used and relevant vtubing software. The "best" will always be subjective and depend on your specific requirements. Overall, the information in this list is as accurate as I could figure it out, but there might be errors or some details might become out of date. If you find anything that needs to be corrected, please let me know. You can also note it in a comment.

Additional explanations:

  • iPhone means that an iPhone is basically required
  • iFacialMocap support means that tracking data can be received from the iFacialMocap iPhone app
  • VMC protocol means that the application can send and/or receive tracking data from other VMC protocol capable applications, allowing the combination of multiple tracking methods (e.g. VSeeFace receiving VR tracking from Virtual Motion Capture and iPhone/ARKit face tracking from Waidayo)
  • Tobii means that the Tobii eye tracker is supported
@ryankurte
ryankurte / config.toml
Last active November 28, 2024 09:13
Set gitlab runner to use git bash
[[runners]]
name = "tt708-windows"
url = "https://gitlab.com/"
token = "[REDACTED]"
executor = "shell"
shell = "bash"
builds_dir="/c/gitlab-runner/builds/"
cache_dir="/c/gitlab-runner/cache/"
[runners.cache]
[runners.cache.s3]
@enif-lee
enif-lee / CryptoUtil.cs
Created March 27, 2020 05:50
C# AES256 encryption and decryption example for using easily.
public class CryptoUtil
{
public static byte[] EncryptAes256(byte[] bytes, byte[] key)
{
using var aes = new RijndaelManaged
{
Key = CreateDeriveBytes(key, 32),
};
aes.GenerateIV();
@TheJLifeX
TheJLifeX / 00-hand-gesture-recognition.gif
Last active October 21, 2025 11:32
Simple Hand Gesture Recognition Code - Hand tracking - Mediapipe
00-hand-gesture-recognition.gif