⌘BABAKOV.NET Let's code!
100% [light] [ru]
~/tags/net $

#.NET

9 posts

9 total

Correct Game Exit in Unity for Different Cases

Example of Correct Game Exit in Unity public void Quit() { #if (UNITY_EDITOR || DEVELOPMENT_BUILD) Debug.Log(this.name+" : "+this.GetType()+" : "+System.Reflection.MethodBase.GetCurrentMethod().Name); #endif #if (UNITY_EDITOR) UnityEditor.EditorApplication.isPlaying = false; #endif #if (UNITY_WEBGL || UNITY_STANDALONE || UNITY_IOS || UNITY_ANDROID) Application.Quit(); #endif }

25 views 1 comments 0 likes ./Read →

Question Mark in TMP_Text TextMeshPro Unity

If a question mark appears at the end of the string when processing text from TMP_InputField, it may be due to TMP_InputField adding a zero-width space (0x200B) at the end of the string. You won't see this in the input field itself, but it may appear under certain circumstances when passing the text. This issue can be easily fixed by:

10 views 0 comments 0 likes ./Read →

Vehicle Number Plate Recognition with C# (.NET)

I recently had to help with the launch of a project under .NET on WCF - on a 64-bit system, the project worked normally on x86 but refused to work on x64. In general, as I expected, the problem was solved quite simply, in addition to the main problem, several others emerged in the process of solving, which required me to get acquainted with a very interesting library <a href="[[B3]]" target="_blank" rel="nofollow noopener external">Emgu CV</a>, which allows you to do a lot of remarkable things, including number plate recognition from an image.

1034 views 2 comments 0 likes ./Read →