+ All Categories
Home > Education > Unity Lesson 2 : Variables and Functions

Unity Lesson 2 : Variables and Functions

Date post: 20-Mar-2017
Category:
Upload: suttipong-kullawattana
View: 12 times
Download: 1 times
Share this document with a friend
12
Unity Lesson 2 : Basic Scripting Variables and Functions
Transcript
Page 1: Unity Lesson 2 : Variables and Functions

Unity Lesson 2 : Basic Scripting

Variables and Functions

Page 2: Unity Lesson 2 : Variables and Functions

Create Variable Function

Page 3: Unity Lesson 2 : Variables and Functions

GameObject > Create Empty > TestScript

Page 4: Unity Lesson 2 : Variables and Functions

Drag and Drop Script to GameObject > TestScriptby press play button

Page 5: Unity Lesson 2 : Variables and Functions

Test Script Success

Page 6: Unity Lesson 2 : Variables and Functions

Test Script Success

Page 7: Unity Lesson 2 : Variables and Functions

Test Script Success

= 55*2 = 110

Page 8: Unity Lesson 2 : Variables and Functions
Page 9: Unity Lesson 2 : Variables and Functions
Page 10: Unity Lesson 2 : Variables and Functions
Page 11: Unity Lesson 2 : Variables and Functions
Page 12: Unity Lesson 2 : Variables and Functions

Recommended