Browsing articles from "October, 2016"
Oct
21
2016

How to enable unsafe keyword for Unity C#

Enabling “unsafe” for unity c# is quite simple: – Add these 2 files to your project folder (inside Assets/ folder root) – “smcs.rsp” and “gmcs.rsp” – both files contain only 1 line of text: -unsafe – Then restart Unity and VisualStudio/Monodev *Note: Unity 5.5 wants […]

Oct
16
2016

[Script] Display Version Number in UI Text

Small script for displaying current app version number from Player Settings in UI Text component. *seems to work in Android, not ios..?   Source: (Attach to UI Text component) https://github.com/UnityCommunity/UnityLibrary/blob/master/Scripts/Helpers/Version/GetVersion.cs

Oct
7
2016

Adding Custom Script Templates

Adding custom script templates is quite simple: – Create your custom script – Replace all class name strings with #SCRIPTNAME# (this will get replaced by the new created script name) – Move the script file under your unity installation folder: \Unity\Editor\Data\Resources\ScriptTemplates\ – Rename “YourScript.cs” into […]

Connect

Twitter View LinkedIn profile Youtube Youtube Join Discord Twitch Instagram

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.