Optionals in Swift 3
Swift Optionals A type the either has a “wrapped” value or is nil. e.g. let imagePaths = ["star":...
Convert numbers to and from strings in Swift
Convert numbers to and from strings in Swift // To convert a number to a string var costString...
Automatic Android Code Signing in Unity
Create a new folder in your project called Editor Within that folder create a new C# script called...
How to solve the “type or namespace UnityEngine.UI does not exist” in Unity
How to solve the “type or namespace UnityEngine.UI does not exist” in Unity From the Asset menu choose...
Working with Negative Numbers in C#
To convert a negative number to a positive number, use the Abs function. Like this. int myInt =...
Playing A Sound in Unity
Here’s a simple way to play a sound in Unity. 1. Add something like this to the declaration...
Changing C# template for Unity
The template files for Unity’s scripts are kept in Program FilesUnityEditorDataResourcesScriptTemplates The new behaviour script, the most common...
Getting a button to change a text object in Unity 3D
Using a button to change the text of a text object 1. Insert a Text object using Create...
Create a new file share with PowerShell
New-SmbShare –Name fso –Path c:\fso Thanks, Malcolm.
How to find a WindowsFeature to install in Powershell
get-windowsfeature | where {$_.Name -like "*AD*"}