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…
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…