Terminator, ZSH (+ .zshrc) + Oh My Zsh + Powerlevel9k + plugins, Rust, FNM + VSCode (+ext) and Nerd Font
To setup Linux for WSL2, see this gist
| using UnityEngine; | |
| public class ExampleNonUIMonoBehaviour : MonoBehaviour | |
| { | |
| private void Start() | |
| { | |
| //Example of how to check for a position. This is the equivalent of EventSystem.current.IsPointerOverGameObject() except for UI Elements. | |
| if (UIToolkitRaycastChecker.IsPointerOverUI()) | |
| { | |
| //I'm under a part of the UI that's set to block raycasts! Don't try to raycast or something. |
Terminator, ZSH (+ .zshrc) + Oh My Zsh + Powerlevel9k + plugins, Rust, FNM + VSCode (+ext) and Nerd Font
To setup Linux for WSL2, see this gist
| using UnityEngine; | |
| using UnityEditor; | |
| using UnityEditorInternal; | |
| using System.Collections.Generic; | |
| using UnityEditor.AnimatedValues; | |
| [CustomEditor(typeof(UnityEngine.Object), true, isFallback = true)] | |
| [CanEditMultipleObjects] | |
| public class CustomEditorBase : Editor | |
| { |
| # Shell prompt based on the Solarized Dark theme. | |
| # Screenshot: http://i.imgur.com/EkEtphC.png | |
| # Heavily inspired by @necolas’s prompt: https://github.com/necolas/dotfiles | |
| # iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing. | |
| if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then | |
| export TERM='gnome-256color'; | |
| elif infocmp xterm-256color >/dev/null 2>&1; then | |
| export TERM='xterm-256color'; | |
| fi; |