34
edits
|  (1st draft) | m (1.5st draft) | ||
| Line 68: | Line 68: | ||
| public var controller : Transform;<br> | public var controller : Transform;<br> | ||
| public var gameReceiver = "Cube";</code> <br><br> | public var gameReceiver = "Cube";</code> <br><br> | ||
| In the Start() function all the necessary scripts are connected. This will happen once you press Play. <br><code> | In the Start() function all the necessary scripts and components are connected. This will happen once you press Play. <br><code> | ||
| public function Start ()<br> | public function Start ()<br> | ||
| {<br> | {<br> | ||
| Line 138: | Line 138: | ||
| break;}</code> <br> | break;}</code> <br> | ||
| f) When you are ready, press Play. | f) When you are ready, press Play. | ||
| == Example: Use your mouse position to Control Objects == | |||
| S O O O O O O O O O N | |||
edits