Open in app

Sign In

Write

Sign In

Fanzhong Zeng
Fanzhong Zeng

37 Followers

Home

About

Nov 27, 2020

Switching Cameras in Unity.

In this guide I just want to quickly go over a simple way to switch between cameras in Unity. We can achieve this by setting different cameras on or off using SetActive(). We first start by deciding on the condition we use to change the camera. For now we’ll use…

Unity3d

2 min read

Switching Cameras in Unity.
Switching Cameras in Unity.
Unity3d

2 min read


Nov 20, 2020

Unity Two Method of Interacting Objects with Mouse

There are two simple methods of writing scripts for the mouse to interact with the game object. A simple method is to write a script for each game object where on mouse down or up, execute some code. …

Unity

2 min read

Unity Two Method of Interacting Objects with Mouse
Unity Two Method of Interacting Objects with Mouse
Unity

2 min read


Nov 13, 2020

Unity Start vs Awake

Unity have a lot of special event functions that gets called automatically by the engine. For example Start and Update function is added to every script by default. In this post I want to talk about the difference between two similar functions that can easily be mixed up with each…

Unity

2 min read

Unity

2 min read


Nov 6, 2020

Unity Movement Translate VS RigidBody

In unity there are two basic method of moving an object. Using translate on the object itself, or using a rigidbody. Translate Moving with translate is easy. All you need is to grab the transform (object) and apply a translate which includes a vector 2 for direction, then speed and time. …

Unity

2 min read

Unity Movement Translate VS RigidBody
Unity Movement Translate VS RigidBody
Unity

2 min read


Oct 30, 2020

Unity Saving Data into PlayerPrefs

This is just a simple guide for saving and loading data from PlayerPrefs in Unity. PlayerPrefs system in Unity allows users to store and access player data between game sessions. It stores data in a plain text file which makes any data easy to access but also easy to hack. Therefore try not to store any important data in PlayerPrefs. Before starting, note that PlayerPrefs allows users to store 3 different types of data:

Unity

1 min read

Unity Saving Data into PlayerPrefs
Unity Saving Data into PlayerPrefs
Unity

1 min read


Oct 23, 2020

Passing Data between different Scenes in Unity (Static Variable)

There are many ways to pass data from one scene to another inside Unity. Using Static Keywords Using DontDestroyOnLoad function Saving to local storage(file) and load inside another scene. Using ScriptableObject Today I want to showcase the easiest method of them all, using Static Keyword. Public vs Private vs Static Variables There are three types of…

Unity

4 min read

Passing Data between different Scenes in Unity (Static Variable)
Passing Data between different Scenes in Unity (Static Variable)
Unity

4 min read


Oct 16, 2020

Unity UI Tips

This is my list that I believe is important when creating UI elements in Unity. Organize using Empty gameObject. Everything in the Unity UI can be organized inside an empty gameObject. UI elements that is similar should be grouped together under the same gameObject. Not only is this better for organization, it’s also useful…

Unity

2 min read

Unity UI Tips
Unity UI Tips
Unity

2 min read


Oct 9, 2020

Unity: Update vs Fixed Update

Recently I created an Unity 2D project, and recently came into issues with my project once I loaded the project to my laptop. My laptop isn’t anywhere as good as my desktop, therefore very often I would run into frame issues where instead of normal 60 frames per second, I…

Unity

2 min read

Unity: Update vs Fixed Update
Unity: Update vs Fixed Update
Unity

2 min read


Oct 1, 2020

Big O Notation in Programming

As a programmer we have seen the Big O notation many times, yet I noticed this is one concept that a lot of beginner programmers have a hard time understanding. It’s not the concept is hard to understand, it basically describe the performance or the complexity of an algorithm. …

Big O Notation

3 min read

Big O Notation in Programming
Big O Notation in Programming
Big O Notation

3 min read


Sep 24, 2020

Ruby’s Right Ward Assignment

There is a feature that was being experimented on in ruby which is the “Right-ward Assignment Operator”. By current day standard, we assign values to variable using a “left”-ward assignment operator. Where the variable is on the left, and the value is on the right. variableName = variableValue This new…

Ruby

2 min read

Ruby

2 min read

Fanzhong Zeng

Fanzhong Zeng

37 Followers

Just a student at flatiron

Following
  • Saima Rahman

    Saima Rahman

  • Soner Mezgitci

    Soner Mezgitci

  • Gulgina Arkin

    Gulgina Arkin

  • Frank Gerold

    Frank Gerold

  • Randy Herasme

    Randy Herasme

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech