A super simple bash script to check the status of a GitLab CI pipeline.
$ git push
...
$ git pipeline-status
Status of last pipeline for user/project on gitlab/master:
"pending"
...
$ git pipeline-status| /* | |
| // UI inspector example implementation | |
| Rect waveformRect = GUILayoutUtility.GetRect(waveformSize.x, waveformSize.y, GUIStyle.none); | |
| EditorUtil.Waveform(waveformRect, clip, waveformSize); | |
| float playMarker = 0f; // replace with a 0-1 seek position | |
| if (playMarker >= 0f) { | |
| Rect progressRect = new Rect(waveformRect); | |
| float width = progressRect.width * playMarker; | |
| progressRect.width = Mathf.Clamp(width, 6, width); |
| Shader "Name" { | |
| Properties { | |
| _Name ("display name", Range (min, max)) = number | |
| _Name ("display name", Float) = number | |
| _Name ("display name", Int) = number | |
| _Name ("display name", Color) = (number,number,number,number) | |
| _Name ("display name", Vector) = (number,number,number,number) |
A super simple bash script to check the status of a GitLab CI pipeline.
$ git push
...
$ git pipeline-status
Status of last pipeline for user/project on gitlab/master:
"pending"
...
$ git pipeline-status| // When creating shaders for Universal Render Pipeline you can you the ShaderGraph which is super AWESOME! | |
| // However, if you want to author shaders in shading language you can use this teamplate as a base. | |
| // Please note, this shader does not necessarily match perfomance of the built-in URP Lit shader. | |
| // This shader works with URP 7.1.x and above | |
| Shader "Universal Render Pipeline/Custom/Physically Based Example" | |
| { | |
| Properties | |
| { | |
| // Specular vs Metallic workflow | |
| [HideInInspector] _WorkflowMode("WorkflowMode", Float) = 1.0 |
| List of C# Script Templates for Unity 3D: | |
| 81-C#__Behavior-NewBehaviour.cs.txt | |
| 81-C#__BehaviorListed-NewBehaviourListed.cs.txt | |
| 81-C#__Class-NewClass.cs.txt | |
| 81-C#__Interface-NewInterface.cs.txt | |
| 81-C#__ScriptableObject-NewScriptableObject.cs.txt |
| #!/bin/bash | |
| set -e | |
| # | |
| # Execute the same git command in all project directories. | |
| # | |
| # Extra command line arguments are passed to git. | |
| # If no arguments are specified, `git status` is assumed. | |
| # | |
| # File `projects.txt` has to contain paths to all project |
| // This file is in the public domain. Where | |
| // a public domain declaration is not recognized, you are granted | |
| // a license to freely use, modify, and redistribute this file in | |
| // any way you choose. | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| // Unity remake of a fake volumetric light glow effect |
| # View registry settings | |
| Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | |
| # Change registry settings | |
| # Reverse mouse wheel scroll FlipFlopWheel = 1 | |
| # Normal mouse wheel scroll FlipFlopWheel = 0 | |
| Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 } | |
| # Restore default scroll direction | |
| # Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 1 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 0 } |
| using System; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEngine; | |
| [CustomEditor(typeof(DefaultAsset))] | |
| public class CustomAssetInspector : Editor | |
| { | |
| public override void OnInspectorGUI() | |
| { |