Building, scripting, skills

  • Scripts as Behavior Components 
    • Link: scripts-as-behaviour-components (3:27)
    • Notes:
    • scripts are considered behavior components is unity
    • when something has a rigidbody component it has a physics mass
  • Variables and Functions0
    • Link: variables-and-functions (5:52)
    • Notes:
    • variables are like boxes that carry information
    • you need different variables for different information
    • you can use debug.log to get the value of anything in the game
    • you can change from the original value by re-declareing it
  • Conventions and Syntax
    • Link: conventions-and-syntax (4:10)
    • Notes:
    • the dot operator is a full dot or period seen between two places of code
    • any statement needs a semi collin at the end of it
  • C# vs JS syntax
    • Link: c-sharp-vs-javascript-syntax (1:54)
    • Notes:
    • i c# the function will start with int or void dependign if you are returning something from the function
  • IF Statements
    • Link: if-statements (1:27)
    • Notes:
    • if statements can be used to make desisions in your code
  • Loops
    • Link: loops (5:33)
    • Notes:
    • loops are ways to repeat lines of code
    • there are four types of loops
    • While
    • Do-While
    • For Each
    • For
  • Classes