Setup conditional debugging system in Unity3d

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…

Setting up Azure Spatial Anchor using Unity Package

Place the following code the manifest.json { "scopedRegistries": [ { "name": "Azure Mixed Reality Services", "url": "https://api.bintray.com/npm/microsoft/AzureMixedReality-NPM", "scopes": [ "com.microsoft.azure.spatial-anchors-sdk" ] } ], "dependencies": { "com.microsoft.azure.spatial-anchors-sdk.windows": "2.5.0", "com.microsoft.azure.spatial-anchors-sdk.android": "2.5.0", "com.microsoft.azure.spatial-anchors-sdk.ios":…

Find Component in child Gameobject

![-w1680](media/15998105420013/15998106683994.jpg) If Text component is placed under the DisplayIdTxt and we need to retrieve it from Item GameObject ```csharp Text DisplayIdTxt = newItem.transform.Find("DisplayIDTxt").GetComponent(); ```

Singleton instancing

Use this to allow to create and maintain a single instance of the class that allows another class to access its methods and properties class TestClass { private static TestClass…