I didn’t think this was a question that existed so forgive mefor notchecking, but does unity have a command(Java) that can open the users CD drive ingame?
My reason for asking is because I want to make a horror game that fucks with the player up to a meta level, I doubt there is anything more unsettling than parts of your computer opening because of a game you’re playing.
There is no specific method in Unity to open a CD drive but it is not impossible to do so. There is a method available to do so programatically.
This question from Stack Overflow specifies a method to do so with C#: Programmatically opening the CD tray
Also you do not need to explicitly use UnityScript itself since you can create a script to open the CD drive using the method provided above in C# and call the function from that script in your UnityScript script.