game-development

All posts in the game-development category

The Difference Between Input.GetAxis and Input.GetAxisRaw

The Difference Between Input.GetAxis and Input.GetAxisRaw

A detailed explanation of the difference between two input handling functions in Unity3D: Input.GetAxis and Input.GetAxisRaw, helping readers understand proper usage for different game types.

ScreenPoint, ViewPoint, and WorldPoint in Unity3D

ScreenPoint, ViewPoint, and WorldPoint in Unity3D

Explaining the differences between three point representations in Unity3D: ScreenPoint (pixel-based frame representation), ViewPoint (frame always has height and width of 1), and WorldPoint (coordinates shown through Transform.Position). The purpose of having these three representations is to help developers create flexible cross-platform games across different screen sizes.

How to Use [System.Serializable] in Unity

How to Use [System.Serializable] in Unity

A detailed explanation of how to use the [System.Serializable] attribute in Unity to display classes and properties in the Inspector, helping developers easily customize values and manage data in games.