Skip to content

Instantly share code, notes, and snippets.

View CoderTobi's full-sized avatar
🎓
Probably busy with school

Tobi CoderTobi

🎓
Probably busy with school
  • Hochschule
  • Germany
  • 07:56 (UTC +02:00)
View GitHub Profile
@sim2kid
sim2kid / Unity Stadia Controller Input.md
Last active October 21, 2024 19:48
Google Stadia Controller Support in Unity's New Input System (1.2+) With full button mapping. Haptics not supported. You should be able to drag and drop this in your project for Stadia controller support

Unity Stadia Controller Input

This gist has been moved to a repo for better maintainability. Please visit sim2kid/UnityStadiaController for package details and installation.

About

This package adds definition for the Google Stadia Controller to Unity's Input System allowing for the use of a Stadia Controller natively with Unity.

@lmartim
lmartim / ScrollRectAutoScroll.cs
Last active March 26, 2025 22:52
Auto scroll vertically a ScrollRect when selecting a component outside the viewport
// https://www.reddit.com/r/Unity3D/comments/1epw3u6/need_some_help_with_scroll_view_auto_scroll/
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
public class ScrollRectAutoScroll : MonoBehaviour