Unity 3D Tutorial Essentials 15 - Assets - Scripts
У вашего броузера проблема в совместимости с HTML5
Unity Essentials Tutorial 15 - Assets - Scripts
Assets: Scripts
Scripts: are behavioral components
Whenever we want to add some behavior to game objects we create new script
Ex: CS, JS
CS: C Sharp
JS: Java Script
Steps:
1. Create a cube
GameObject Menu - 3D Object - Cube
2. Create a script
Assets Menu - Create - C# Script - Name the Script - Enter
3. Attach the script to cube
Select Cube - Component menu - Scripts - Select the script
4. Opening the script
Double click to open the script
5. Type the code in Update method and save:
this.transform.position = this.transform.positon + new Vector3(1f,0f,0f) * Time.deltaTime;
6: Play
=========================================
Follow the link for next video:
Unity Essentials Tutorial 16 - Assets - Prefabs
https://youtu.be/jgDjSsQPDZY
Follow the link for previous video:
Unity Essentials Tutorial 14 - Assets - Audio
https://youtu.be/bjJw1ORLYJk
=========================================