- 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)
- Import the pointcloud file in ".ply" file format in Meshlab. Before importing make sure you do some pre-processing / cleaning on point cloud so as to ease the process of meshing.
- Next we need to reduce the number of point samples for smooth meshing.
- So go to Filters -> Point Set -> Point Cloud Simplification. Enter Number of samples circa 5% of original number of points. Make sure Best Sample Heuristic is checked.
- After point cloud simplification, make sure to select Simplified point cloud in the Show Layer Dialog on the right hand side. If not visible, it can be opened by navigating to View -> Show Layer Dialog. Now we need to compute normals for point set.
- So go to Filters -> Point Set -> Compute normals for point sets . Enter Neighbour num between 10 - 100. Initially try with 10 and
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
| -- Create a new DynamicMesh instance | |
| local dynamicMesh = Instance.new("DynamicMesh") | |
| -- Function to get perlin noise | |
| local function perlinNoise(x, y, scale, height) | |
| return math.noise(x * scale, y * scale) * height | |
| end | |
| local size = 50 -- Size of the terrain | |
| local scale = 0.1 -- Scale factor for Perlin noise |
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 UnityEngine; | |
| using Random = UnityEngine.Random; | |
| public class StarField : MonoBehaviour | |
| { | |
| private Transform thisTransform; | |
| private ParticleSystem.Particle[] points; | |
| public int starsMax = 100; | |
| public float starSize = 1f; |
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
| #ProTip™: You can pause win10 to 11 update for much longer, | |
| if you click: Pause updates, then un-pause it (before that last pause date), then pause again instantly. | |
| Now you can click 'pause for 7 days' many times.. got myself almost 1 month extra. |