MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

Components in Unity

Course Summary

Every GameObject in Unity can use components, which are pieces of code that can change how the game behaves. We'll explore some of the problems that can surface while programming and techniques you can use to untangle your thinking.


  • +

    Course Syllabus

    Organizing Code into Methods

    It's a lot harder to build on top of a mess than it is to build on a stable foundation. We'll learn how to take an existing Unity project with messy scripts and organize them into scripts that utilize methods. 5 steps
    • Project Overview 4:07
    • Spaghetti Code 5:46
    • Organizing GameManager into Methods 8:15
    • Organizing ShootArrow into Methods 4:16
    • Organizing Code into Methods 5 questions
    • Extra Credit Feeling adventurous? Try going back to one of your previous Unity projects and look for code in the Update() method that could be reorganized into smaller methods.

    Thinking in Components

    Writing methods is a good start, but we can go a step further by segmenting each unique piece of behavior into a new script, and, a new component. By creating individual components that serve a clear singular purpose, we can start to build a library of reusable code. 4 steps

    Adding New Behavior

    Now that we've organized our code into methods and components, we're ready to start building new behavior. The true test of code quality is how easy it is to change later on, so let's try to add some new features. 3 steps


Course Fee:
USD 25

Course Type:

Self-Study

Course Status:

Active

Workload:

1 - 4 hours / week

This course is listed under Development & Implementations and Quality Assurance & Testing Community

Related Posts:

Attended this course?

Back to Top

Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top