Browsing articles in "Uncategorized"
Mar
7
2020

Scale Canvas and UI with Screen Size

How to:From Canvas component, Canvas Scaler:– UI Scale Mode: “Scale with Screen Size”– Reference Resolution : 800 x 600– Screen Match Mode: Match with Width or Height– Match: 1 RectTransform settings for Text TextMeshPro:(other RectTransform values are default, like pivot)

Mar
5
2020

Shader: Drawing Circles Pattern

Drawing Pattern of Circles in shader. (test for this forum topic) Shader:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/2D/Patterns/CirclesPattern.shader References:– Drawing Shapes : https://thebookofshaders.com/07/– Drawing Patterns : https://thebookofshaders.com/09/

Feb
13
2020

Reference Image Viewer Editor Window

If you are working on a single monitor, and/or need to have some reference images in view.. Here’s a small editor plugin to show texture on a window. Source: https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Scripts/Editor/Tools/ReferenceImageViewer.cs Usage:– Copy file into your project, into some Editor/ folder– You can then use from […]

Feb
13
2020

How to use AudioImporter Sample Rate lower than 8000hz

Sound importer seems to allow only allows 8000hz as the lowest sample rate.. But you can force lower values by modifying the audioclip .meta file! First select PCM or ADPCM as the Compression Format: Then modify the audio clip meta file (same folder as the […]

Dec
20
2019

(Free) Runtime Text To Speech Plugin

Needed simple TTS plugin for a small unity windows game that i’m working on.. I know asset store has few, but they seem to rely on Windows Speech platform voices, and one plugin that was completely standalone didnt really have good enough speech quality.. First […]

Nov
14
2019

Better Video Player for Unity Premium Videos

Unity Learn Premium videos cannot be resized, opened in new tab or moved around.. With some javascript, you can pop the video out into resizable and draggable div! Source:https://gist.github.com/unitycoder/21fd5cce51932ccf524bdda5a2fe8401 Instructions:– Copy paste that whole script into Browser console (F12) Results: References:https://forum.unity.com/threads/how-to-get-bigger-not-full-screen-unity-learn-videos.776813/ Notes:– Currently it support […]

Oct
5
2019

Reading Minecraft World into Unity (using Substrate)

Quick test for reading Minecraft worlds into unity.Note: example code uses particle for each block, so it gets pretty slow. Compile Substrate.dll:– download this repository https://github.com/minecraft-dotnet/Substrate – unzip, open Substrate-master\SubstrateCS\Substrate.sln– Solution Explorer: Right click over Substrate (NET4), Set As Startup Project– Select Release (from the […]

Oct
1
2019

2 Pass Standard Shader with See-Through Wall Effect

Modified standard shader to make see through wall effect, with blurred texture and opacity. Shader source:https://github.com/UnityCommunity/UnityLibrary/blob/master/Assets/Shaders/3D/Effects/Standard-SeeThroughWalls.shader

Sep
2
2019

Texture tiling broke, after importing material and texture from 2018.x into 2017.x (using unitypackage)

Imported some .unitypackage from 2018 into 2017 (to downgrade), and had strange texture issue with some part of the model.. took couple of hours to find out that material tiling had resetted to 1 (instead of 100 – duh!) and then also texture was not […]

Aug
18
2019

Read File from Oculus Quest /sdcard/ Folder

New 2023 (more limitations) “This is because the Quest OS v53 now uses Android 12, which limits the way apps can access storage. From the developers of Polysketch: – No Access— /sdcard/Polysketch/– Can create folders, but not files— /sdcard/Android/Polysketch/– Full folder & file creation— /sdcard/Android/Android/data/com.PolysketchLLC.Polysketch/files […]

Pages:«123456»

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.