CrypticTick4 Posted November 21, 2019 Posted November 21, 2019 Just wanting to see if there are any tips out there for creating a script in C# to open and close a specific Canvas, called Welcome_Canvas in Unity, using voice recognition in a scene without a new Canvas being created. Doing a class project and do not have much C# coding experience in Visual Studio. I already have a basic script to create cubes and spheres of varying size and just need to adapt it to open and close a desired Canvas. Attached is the code in VS to create a new Cube/Sphere. Any and all help is greatly appreciated. @Corvus VoiceRecognition.cs
Corvus Posted December 3, 2019 Posted December 3, 2019 You will need a reference to the Canvas object and you can enable/disable the object to "open" and "close" it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.