Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

What's EOF (read description)?

$
0
0
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:

  1. var LeftCamera :Camera;
  2. var RightCamera :Camera;
  3. functionStart(){
  4. LeftCamera.enabled =true;
  5. RightCamera.enabled =false;
  6. }
  7. functionUpdate(){
  8. ...

What's EOF (read description)?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>