Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.LowLevel; | |
| using System.Linq; | |
| using System.Threading; | |
| namespace EditorUtils { | |
| // | |
| // Serializable settings |
| // Original shader by @bgolus, modified slightly by @alexanderameye for URP, modified slightly more | |
| // by @gravitonpunch for ECS/DOTS/HybridRenderer. | |
| // https://twitter.com/bgolus | |
| // https://medium.com/@bgolus/the-quest-for-very-wide-outlines-ba82ed442cd9 | |
| // https://alexanderameye.github.io/ | |
| // https://twitter.com/alexanderameye/status/1332286868222775298 | |
| Shader "Hidden/Outline" | |
| { | |
| Properties |
| using UnityEditor; | |
| using UnityEngine; | |
| public static class PlaceOnGroundEditor | |
| { | |
| [MenuItem("Tools/Snap to ground %&D")] | |
| public static void PlaceOnGround() | |
| { | |
| var transforms = new Transform[Selection.gameObjects.Length]; | |
| for(int i = 0; i < transforms.Length; i++) transforms[i] = Selection.gameObjects[i].transform; |
| // This gist can be found at https://gist.github.com/bestknighter/660e6a53cf6a6643618d8531f962be2c | |
| // I modified Aras Pranckevičius's awesome shader code to be able to handle Infinite and Not A Number numbers | |
| // Tested on Unity 2023.1.0a15 with ShaderGraph 15.0.1. | |
| // Quick try at doing a "print value" node for Unity ShaderGraph. | |
| // | |
| // Use with CustomFunction node, with two inputs: | |
| // - Vector1 Value, the value to display, | |
| // - Vector2 UV, the UVs of area to display at. |
| using Microsoft.CodeAnalysis; | |
| using Microsoft.CodeAnalysis.CSharp.Syntax; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Text; | |
| using Microsoft.CodeAnalysis.Text; | |
| namespace SourceGenLib |
| [Serializable] | |
| public struct SaveTag : IComponentData { } | |
| [Serializable] | |
| public struct MissingRenderMeshTag : IComponentData { } | |
| [Serializable] | |
| public struct MissingPhysicsColliderTag : IComponentData { } | |
| [Serializable] |
| #!/bin/sh | |
| # Modified from https://gist.github.com/EtherZa/581d9276336353838b2c939f9554d479 | |
| # | |
| # This script finds the files that are about to be committed, | |
| # and runs dotnet format on them before adding them back to staging | |
| # | |
| # install dotnet-format: dotnet tool install -g dotnet-format | |
| # make sure installed dotnet tools are on your path: | |
| # export PATH="$PATH:$HOME/.dotnet/tools/" | |
| # copy to .git/hooks/pre-commit and make executable |
| using System.Linq; | |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using System; | |
| using UnityEditor; | |
| #endif | |
| namespace Global.Scripts.ConstructionScript | |
| { |
Note
to active Office without crack, just follow https://github.com/WindowsAddict/IDM-Activation-Script,
you wiil only need to run
irm https://massgrave.dev/ias | iex