Thursday, July 22, 2021

How To Create Score for Your Unity Game

Create C# Script To Count Score For Your GameHello Friends, so today we will write score script for our game.For this script, first we will see the score result in the console window and then we will add a text box (in canvas) in game scene view so that we can see the score in the running game as well ,so lets start !!!Open your unity game/project.  Here i will open First_Game if you want to make dedicated project for score only go to NEW in...

Sunday, July 18, 2021

The Unity Asset Store And Importing 3D Charater Model

The Unity Asset StoreFrom Unity asset store user can download assets like Models,Textures,Material,tools like Terrain,Utilities etc and import it inside the game.In unity asset store verity of assets are available some of them are paid and some of them are free as well.Here we will import a free car asset in out game.Google,Unity asset store and open the first link or directly go to https://assetstore.unity.com/Note: User can add a dedicated tab...

Thursday, July 15, 2021

Variable in C# (Unity3D)

Variable in C#There are different type of variable in C# these are :Int: values like : 1,2,3,4,5,-1,-2,-3,-4..Float: values like 1.23, 3.44 , 5.48, 9.32 , -12.34....in C# for float variable we will use "f" after the number exp:1.23f, 3.44f, 5.48f etc.String: exp , "unity3D" , " augmented reality" , "Virtual reality"... Private Variable: These variable are accessible  in side the class only.So user cant change its value from the inspector panel.Public...

Tuesday, July 13, 2021

First Script in C# Unity3D (Rotate Object About Any Axis)

Hello friends , So now its time to write your first script in C# unity3D.Before write your C# script , make sure that camera , directional light should be in there your scene.first add an object in the scene on which you will add the script to perform some action.so here i will add 3d object cube (see below).If you want to zoom object select it on scene and press "F" on the keyboard.how to add script into the object?To make your project user friendly...

Saturday, July 10, 2021

2D And 3D Objects In Unity3D

First view of our project look like below.If not ! Then you can change your project layout from layout section in window tab.here my layout is of 2 by 3.In hierarchy window you can see there are two game object present already. These Game objects are :i) Camera ii) Directional lightCamera left hand side we can see the camera, x,y,z axis and camera preview.Right hand side we can see the inspector window for camera.From inspector window...

Thursday, July 8, 2021

Important Tab And Field In Unity3D

Menu And Fields In Unity3D Before we start our First_Game, we will have a look into some basic and important tab and field present in the unity3D. 1. File2. Edit3. Assets 4. GameObject5. Component 6. Window7. HelpFile:By file , we can create new scene in our project or we can open and add already existed scene inside to our project.by this we can a project which is already present and we can save our performed task and project.(crl+s)we...

How To Create Your First Game or Project in Unity3D

Make Your First Game In Unity3D Hello Friends , as of now we have installed Unity3D. Now its time to create our first unity game!Here we can create 2D or 3D games and steps to create both are same. So ,Finally we go for 3D game, follow the steps:Step1: Click UnityHub and open it.Step2: Click NEW Step3: Select 3D and give some project name .Here i have given First_Game and choose the desired location.Step4: Click CREATE !The first view window...

Tuesday, July 6, 2021

UNITY3D

Unity3D ? World's most popular cross platform 3D game engine.Unity3D has a user friendly development environment.By unity3D user can creates 2D, 3D games, perform simulations and make applications for Mobile , PC , consoles and Web.Unity3D comes loaded with some tools and features these tools and features are helpful for both programmer and artist.For the platform itself unity was built in C++ and over the year it gets optimize for the performance.Unity3D...