Sign up with your email address to be the first to know about new products, VIP offers, blog features & more.

 




You are viewing c#

Code snippets, source codes and free student project done in C#

How to bound gameobject within screen Unity

C# code to keep player or gameobject within the Screen view
[1] This will bound gameobject within screen unity and keep the pivot point a game object visible:

You can clamp it tighter if needed.

share