game-development

All posts in the game-development category

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

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.