A collection of commands that change the Arc Browser icon on macOS.
| Theme | Command |
|---|---|
| Candy Arc | defaults write company.thebrowser.Browser currentAppIconName candy |
| using UnityEngine; | |
| using UnityEngine.EventSystems; | |
| using UnityEngine.Rendering; | |
| using UnityEngine.UIElements; | |
| #if ENABLE_INPUT_SYSTEM | |
| using UnityEngine.InputSystem.UI; | |
| #endif | |
| #if UNITY_EDITOR | |
| using UnityEditor; |
| /* Original code[1] Copyright (c) 2022 Shane Celis[2] | |
| Licensed under the MIT License[3] | |
| [1]: https://gist.github.com/shanecelis/b6fb3fe8ed5356be1a3aeeb9e7d2c145 | |
| [2]: https://twitter.com/shanecelis | |
| [3]: https://opensource.org/licenses/MIT | |
| */ | |
| using UnityEngine; | |
| using UnityEngine.UIElements; |
| /* MIT License | |
| Copyright (c) 2022 David Tattersall | |
| 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 | |
| furnished to do so, subject to the following conditions: |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.UIElements; | |
| using UnityEngine.EventSystems; | |
| using UnityEngine.Rendering; | |
| namespace Katas.Experimental | |
| { | |
| public class WorldSpaceUIDocument : MonoBehaviour, IPointerMoveHandler, IPointerUpHandler, IPointerDownHandler, | |
| ISubmitHandler, ICancelHandler, IMoveHandler, IScrollHandler, ISelectHandler, IDeselectHandler, IDragHandler |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.Rendering; | |
| public class CustomRectHandles : ScriptableObject | |
| { | |
| public class Rect3D | |
| { |
| using System; | |
| using System.Collections.Generic; | |
| using System.Reflection; | |
| using UnityEngine.UIElements; | |
| namespace UI | |
| { | |
| public static class BindingExtensions | |
| { | |
| public static void Bind(this VisualElement element, object data) |
| using System; | |
| using System.IO; | |
| using System.IO.Compression; | |
| using System.Text; | |
| namespace TarExample | |
| { | |
| public class Tar | |
| { |
| // c# companion script | |
| // SpriteUVToShader.cs -------------------------------------------------------------------------------------------------------------------------------- // | |
| // Save you your project, add to your SpriteRenderer gameObject | |
| using UnityEngine; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| [ExecuteInEditMode] |
| #if UNITY_EDITOR | |
| using System; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEngine; | |
| public static class Docker | |
| { | |
| #region Reflection Types |