Teaching Newbies since 2014

kauress

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Contact
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for Unity3D

January 25, 2021 by: Kauress

Introduction to C# in Unity3D #2: Scripts! Scripts! Scripts! 📑

Unity3D C# Scripts

📑 In Unity3D you will hear the word script a lot!’ 📑To create a script: Assets < C# < Script or Right click in the Assets folder < Create and < C# Script 📑 Script names should be in Pascal case. PascalCase is a naming convention in which the first letter of each word in a compound word is capitalized. For example: 📑Script names should

[ Read More ]

January 25, 2021 by: Kauress

Unity3D Scripting API # 5: FixedUpdate() ☑️

Unity3D Scripting API

⭐ FixedUpdate(): ☑️ Recap: Update used to determine the state of a game object in the next frame and thereon continuously ☑️ Called continuously after 0.02 seconds or whatever time interval that you choose. Unity’s fixed timestep defaults to 0.02. This means FixedUpdate() is being called after every 0.02 seconds ☑️ Tied in to the physics engine. Contains physics based updates ☑️ This method is

[ Read More ]

January 24, 2021 by: Kauress

Introduction to C# in Unity3D #1: 💻What? Why? How

💻It is an object-oriented programming language created by Microsoft 💻 Object-oriented programming (OOP) is about creating objects that contain both data and methods. 💻It is easy to learn and simple to use 💻 Good community Support 💻Good for making games, VR apps, AR apps, Your C# code will interface with the game engine via the Unity3D Scripting API. The Unity3D scripting API exposes functions that

[ Read More ]

January 24, 2021 by: Kauress

Unity3D Scripting API #4 : Update() ☑️

Unity3D Scripting API

⭐ Update(): ☑️ This method is called continuously every frame ☑️ The Update() method is good for receiving inputs from the user continuously. Anything that needs to change or be adjusted regularly will be written inside the Update() method for example⏱️ Timers. ☑️ Also used for non-physics based movement for example non-physics based character controller in 2D games ☑️ Update() depends on the game’s refresh

[ Read More ]

January 24, 2021 by: Kauress

Unity3D Scripting API #3 – Start() 🏁

Unity3D Scripting API

💚MonoBehaviour💚 is the base class from which every Unity script derives. Any Unity3D script that you create will extend from the MonoBehaviour class. The MonoBehaviour class will execute events in a pre-determined order. 🍱Method: A method is a function that performs a specific task. So these methods are performing a specific function. For example whatever code is written inside the Start() will execute on the

[ Read More ]

January 22, 2021 by: Kauress

Unity3D Scripting API -2: MonoBehaviour

Unity3D Scripting API

💚MonoBehaviour💚 is the base class from which every Unity script derives. Any Unity3D script that you create will extend the MonoBehaviour class. Ok what is a class? When you make a new Unity3D script, the class name will be the same as the file name. A class is like a container for your variables and functions. They’re organized together and perform a specific function in

[ Read More ]

January 22, 2021 by: Kauress

Introduction to the Unity3D Scripting API – 1

Unity3D Scripting API

The Unity3D scripting API is a collection of namespaces. API stands for Application Programming Interface. It allows 2 applications to talk to each other. A namespace is a collection of classes, events, enumerations, delegates, interfaces etc that handle a specific task each. So each namespace will handle a specific task each. The most common namespaces are: UnityEngine namespace: collection of pre-built classes, events, interfaces etc

[ Read More ]
  • « Previous Page
  • 1
  • 2
  • 3

Copyright © 2021 ·Kauress