DEV Community

Cover image for Game development with Unity3D NEWBIE series
Kauress
Kauress

Posted on

Game development with Unity3D NEWBIE series

So I decided to kickstart my youtube channel with Unity3D game dev tutorials for newbieshere. I felt there was cohesiveness missing in a lot of the tutorials such as not really explaining the Unity3D Scripting API, Monobehaviour events etc.

The Unity3D scripting API is a collection of namespaces.

API stands for Application Programming Interface. It allows 2 applications to talk to each other.

Alt Text

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:

  1. UnityEngine: collection of pre-built classes, events, interfaces etc that allow us to work with the Unity3D engine.
  2. UnityEditor: **UnityEditor namespace is a collection of pre-built classes, events, structures, enumerations, delegates, interfaces etc that allow us to **extend the functionality of the Unity3D editor.
  3. System namespace: part of the .NET framework which is used behind the scenes by the Unity3d game engine. It is a is a collection of, events, interfaces, delegates , structures, enumerations etc that allow us to create and use common data structures

Essentially namespaces are like containers for classes and we can access all the classes of these namespaces in our script.
Alt Text

YouTube:

//using imports a namespace
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class CubeController : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()

    // Update is called once per frame
    void Update()
    {

    }
}
Enter fullscreen mode Exit fullscreen mode

I've noticed more and more web devs getting into games and unity3D, maybe it's the excitement of VR and AR that's pushing us lot.

If anyone else is also doing game dev please say hi!

Top comments (6)

Collapse
 
ak3311g profile image
Ankit Kumar

I am learning but I am a bit confused like how do I start making projects like if I had one scene then okay but If i want to make multiple scene then how do I sync them the gameobjects the data and all things

Collapse
 
admoraguilar profile image
Admor Aguilar

"I've noticed more and more web devs getting into games and unity3D, maybe it's the excitement of VR and AR that's pushing us lot."

I find it funny that I'm a game dev with VR/AR experience, and is trying to get into web dev instead 😂. Good luck on your Unity journey!

Collapse
 
euse44 profile image
euse44

Mega888 APK prioritizes security and fairness in its gaming environment. The platform uses advanced encryption technology to ensure the safety of players' personal and financial information to mega888-apk.net/. Additionally, the games are regularly tested for fairness by independent auditing firms to guarantee random outcomes and a fair gaming experience.

Collapse
 
mega888-apk-ios profile image
hobi ninjass89

The gaming experience on Mega888 is designed to cater to both novices and experienced gamers alike. It combines high-quality graphics, sound effects, and interactive elements, creating an environment that feels almost lifelike stnicholascommunitycentre.co.uk.

Collapse
 
stanley_okemezi_85360ec44 profile image
Stanley Okemezi

Hi

Collapse
 
daisy_dani_deeb83780e6d0f profile image
Daisy Dani

thats amazing guide.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.