by Yahwho | Sep 28, 2020 | Java
I’ve not posted any Unity build stuff recently (in fact since April 24th). I’ve been working away on an update for my plugin called Medieval Realms for the game Rising World. The update uses an API feature that takes screenshots of the users screen...
by Yahwho | May 7, 2020 | Java
So I’ve always done it with the plus (+) operator turns out using a prefix $ is much more efficient in terms of memory usage. //less efficient string newString = firstString + ” said hello”; //more efficient string newString = $”{firstString}...
by Yahwho | May 7, 2020 | Java
Remember to always use a public property over a public variable. Public variables such as below are potentially dangerous; //bad practice public float myFloat = 0.1f; Instead use; //public variable – the best solution public float myFloat { get; set; } Why use a...