71
edits
Junyuan WU (talk | contribs) No edit summary |
Junyuan WU (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
For the purposes of this tutorial, it is recommended to creating a simple plane and shape objects. | For the purposes of this tutorial, it is recommended to creating a simple plane and shape objects. | ||
here I create a cube and a sphere. | here I create a cube and a sphere. | ||
[[File:2-1]] | [[File:2-1]] | ||
Line 14: | Line 15: | ||
[[File:3-1]] | [[File:3-1]] | ||
select camera in hierarchy,single click it. | select camera in hierarchy,single click it. | ||
[[File:3-2]] | [[File:3-2]] | ||
click the right of table to add component to the camera. | click the right of table to add component to the camera. | ||
[[File:3-3]] | [[File:3-3]] | ||
select a new script | select a new script | ||
[[File:3-4]] | [[File:3-4]] | ||
enter a name for this script | enter a name for this script | ||
[[File:3-5]] | [[File:3-5]] | ||
double click the script in Assets,then you will get a script widow, you can write code in it. | double click the script in Assets,then you will get a script widow, you can write code in it. |
edits