Blog about programming, Unity3D, game development, Game-engines, c#, AI, Drones & CS researches.
How to Call one C# method from another C# script in Unity3d
Calling one method of a script from another script is common in Unity3d game development. In this Unity3d beginners tutorial I will show you how to call one c# method from another script.
How to add Serilog or Third Party Logging in Unity3d
In this video tutorial I have explained how to add third party logging system in Unity3d. This is advance logging way to log information in unity console with SeriLog. you can even write your games logs in specific text file with proper text formatting.
Linux Basic commands for beginners
#
|
Command Text
|
Description
|
1
|
Cd /
|
Go to root
|
2
|
Ls
|
Show all folder file directory names
|
Ls -l
|
Show file permissions
|
|
3
|
Cd
|
Change directory
|
Cd ..
|
Go back one step
|
|
4
|
Mkdir directory-Name
|
Create directory
|
5
|
Touch app.txt
|
Create file
|
6
|
Vi app.txt
|
Edit file (vi default editor),
|
7
|
Insert mode
|
Press I to insert mode, escape to out
|
8
|
Cat app.txt
|
Show/print content
|
9
|
Cp app.txt /home/faizan/desktop
|
Copy file to specific director
|
10
|
Mv file name directory
|
Cut paste
|
11
|
Rm file name
|
Delete
|
12
|
Man command name
|
Help how command work
|
13
|
Find search-path “filename with extension”
|
Find command for file
|
14
|
Find search-path -name “filename with extension or directory”
|
Search directory of file |
How to Import NuGet package in Unity3d
You often require to add third-party dll or nuget packages in Unity3d project. In this unity tutorial I will show you step by step how to add Nuget Package or dll into Unity3d project. For this tutorial we choose newtonsoft nuget package. You can adopt these steps for any nuGet package.
Here are the details,
Here are the details,
- go to your desired NuGet package webpage.
- on the right side **Download Package** option click it.
- your package **.nupkg** file will be downloaded.
- change its extension to .zip and extract it
- go to lib and copy your package dll file from net or any netstandard folder. For [your unity project compatibility purposes][2] view this:
- open unity workspace and create plugin folder
- paste your dll file here.
Subscribe to:
Posts (Atom)
