Jump to content

HTC Vive Pro using Unity and C# to create a voice recognition script to open and close a Canvas


Recommended Posts

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.



Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...