I have a script that is going to toggle between "LeftCamera"
And "RightCamera" When the input "SwitchShoulders" is tapped. But I keep getting a compiler error saying I need to replace "}" with "EOF" on the 22nd line of scripting, but I don't know what EOF is or how to write it. Here's the script:
What's EOF (read description)?
And "RightCamera" When the input "SwitchShoulders" is tapped. But I keep getting a compiler error saying I need to replace "}" with "EOF" on the 22nd line of scripting, but I don't know what EOF is or how to write it. Here's the script:
- var LeftCamera :Camera;
- var RightCamera :Camera;
- functionStart(){
- LeftCamera.enabled =true;
- RightCamera.enabled =false;
- }
- functionUpdate(){
- ...
What's EOF (read description)?