// Create a new dictionary of strings, with string keys. // Dictionary<string, string> openWith = new Dictionary<string, string>(); // Add some elements to the dictionary. There are no // duplicate…
//TODO //HACK //FIXME Working with Visual Studio, you can use Task list to help remember where in the code needs extra attention later. Simple comment the code above with the…
What i wish to achieve Allowing to disable selected types of debug in different levels Such as DEBUG_LEVEL_LOG DEBUG_LEVEL_WARN DEBUG_LEVEL_ERROR Setup different types of the debug messages Debug.log Debug.error Debug.warning…
Add an directive using System.Collections.Generic; Create an list of strings called scannedNames private List<string> scannedNames; Then initiate the List in Start() scannedNames = new List<string>(); Then When the Discovered Event…
PascalCasing for class names and method names: public class ClientActivity { public void ClearStatistics() { //... } public void CalculateStatistics() { //... } } Do use camelCasing for method arguments…
This coding practice is to overload existing functions with customised capabilities It has to be static function The format as follows: Use IEnumerator when use Action "yield return null" is…
Place the UI Panel to the top of the display because it is the last to be draw among the siblings root.transform.SetAsLastSibling(); // Puts the panel to the front as…