Skip to content

Instantly share code, notes, and snippets.

View emredesu's full-sized avatar
💭
boo

emredesu

💭
boo
View GitHub Profile
@emredesu
emredesu / kawaiibottoDowntimeStartUnixTime.txt
Last active July 22, 2022 18:19
kawaiibottoDowntimeStartUnixTime
1658513960
@emredesu
emredesu / kawaiibottoBannerImageLinks.json
Last active June 15, 2023 08:53
Banner image links for kawaiibotto's _genshin command - no longer being updated thanks to the amazing genshin.py library
@emredesu
emredesu / kawaiibottoGenshinEmojiAssociations.json
Last active November 18, 2022 14:42
Emoji associations for characters/weapons for kawaiibotto's Genshin command
{
"Albedo": "⛰️ 🎨",
"Aloy": "❄️💣",
"Amber": "🐰🔥",
"Arataki Itto": "💪👹",
"Barbara": "⛪🎤",
"Beidou": "⚡⚓",
"Bennett": "🔥👍🏻",
"Chongyun": "🍨❄",
"Diluc": "🍷😠",
@emredesu
emredesu / kawaiibottoGenshinWishBanners.json
Last active June 15, 2023 08:54
Up-to-date Genshin wish banner info in JSON format for kawaiibotto - no longer being updated thanks to the amazing genshin.py library allowing us to pull current banner data
{
"character1": {
"rateUp5StarCharacter": "Yoimiya",
"rateUp4StarCharacters": [
"Kirara",
"Yun Jin",
"Chongyun"
],
"all5StarCharacters": [
"Jean",
@emredesu
emredesu / ScrollRectAutoScroll.cs
Last active January 4, 2024 05:49 — forked from mandarinx/ScrollRectAutoScroll.cs
Re-written for the new input system. Also uses unscaledDeltaTime for use in pause menus, and doesn't do anything if the platform is a mobile platform with no gamepads connected.
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
using UnityEngine.InputSystem;
[RequireComponent(typeof(ScrollRect))]
public class ScrollRectAutoScroll : MonoBehaviour, IPointerEnterHandler, IPointerExitHandler {
public float scrollSpeed = 10f;
private bool mouseOver = false;