rustup update
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Custom/FresnelOverlay_Add1" | |
{ | |
Properties | |
{ | |
[HDR]_RimColor ("Fresnel Color (HDR)", Color) = (3,3,3,1) | |
_RimPower ("Fresnel Power", Range(0.1, 8)) = 3.0 | |
_RimStrength ("Fresnel Strength", Range(0, 10)) = 1.0 | |
_DoubleSided ("Double-Sided (0=Back,1=Off,2=Front)", Range(0,2)) = 2 | |
_DepthBias ("Depth Bias (to avoid misses)", Float) = 0.0 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// by Mr. Chap Gipity | |
Shader "Custom/OutlineOnlyHDR" | |
{ | |
Properties | |
{ | |
[HDR]_OutlineColor("Outline (HDR Emission)", Color) = (5,5,5,1) | |
_OutlineWidth("Width (view-space units)", Float) = 0.02 | |
_ZOffset("Depth Offset (units)", Float) = 0.0 | |
} | |
SubShader |
- start window, scrollbar is 1px width and appears on mouse over (always annoying, if you miss it by 1 pixel it disappears)
- recent projects list: big mouseover tooltip blocks view (and it shows the same folder path that i can already see below the project name)
- creating new project: back button is white text, next button is black with purple bg, back button is more visible
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://docs.unity3d.com/6000.2/Documentation/Manual/SL-SurfaceShaderExamples-FinalColor.html | |
Shader "Example/Tint Final Color" { | |
Properties { | |
_MainTex ("Texture", 2D) = "white" {} | |
_ColorTint ("Tint", Color) = (1.0, 0.6, 0.6, 1.0) | |
} | |
SubShader { | |
Tags { "RenderType" = "Opaque" } | |
CGPROGRAM | |
#pragma surface surf Lambert finalcolor:mycolor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example script from Unity about this issue https://issuetracker.unity3d.com/issues/the-new-input-system-is-not-detecting-clicks-when-under-heavy-load | |
using UnityEngine; | |
// Use action set asset instead of lose InputActions directly on component. | |
public class SimpleController_UsingActionAsset : MonoBehaviour | |
{ | |
private SimpleControls m_Controls; | |
Vector3 m_MovementSum = Vector3.zero; | |
public float speed = 10f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.ComponentModel; | |
using System.Net; | |
using System.Net.Mail; | |
using System.Net.Security; | |
using System.Security.Cryptography.X509Certificates; | |
public class UnityGMail | |
{ | |
public void SendMailFromGoogle() | |
{ |
PulkkaHyppy suoritetaan pitämällä pulkkaa selässä käsissä, samalla juosten kohti ojaa tai muuta alamäkeä. Ilmahypyn aikana pulkka vedetään sopivaan kohtaan itsesi alle, jotta voit laskeutua rinteeseen pulkan kyydissä laskuasennossa. Kun olet laskeutunut hypystä, vedä itsesi parempaan asentoon pulkan kyydissä, jotta lasku jatkuu hyvin. Laskeutuessa jalat ovat yleensä ilmassa ja istut pelkkä takapuoli pulkassa, 30-50 asteen kulmassa (nojaten taaksenpäin), ja sitten jalat laskeutuvat pulkan kyytiin.
- On tärkeää laskeutua oikeassa kulmassa ja sopivan jyrkkään rinteeseen (ei tasaiselle), muuten selkä hajoaa pulkan takareunaan
- Pitämällä kiinni pulkasta käsillä, voit osittain joustaa laskeutumista käsien varaan (ettei tule kova tömähdys)
NewerOlder