article thumbnail

Lesson 4: Creating and Using Scripts

Game Designing

  Summary In this Unity Scripts tutorial, we explain the main concepts that apply to scripting in Unity. You’ll learn how to use Unity with C# and the tips and hacks to optimizing your scripts. About Scripting Scripting is an essential ingredient in all games. Welcome to another Unity tutorial.

article thumbnail

Make a fully functional calculator in Unity not only for VR, Part I

DameDev.tv

I have also prepared a starter package for you, which includes meshes, textures, materials, and a prefab with an assembled calculator using these assets. It's composed of a CalcBase object, which consists of a CalcBase mesh and a BoxCollider. Key Script With our assets prepared, let's dive into implementing the logic.

Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

A couple fixes to the text resource loader which could impact notably reloading scripts ( GH-71170 ). OBJ mesh import now supports vertex colors as exported by Blender ( GH-71033 ). Physics fixes and improvements for sphere-capsule, sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70660 , GH-70787 ).

Beta 110
article thumbnail

Dev snapshot: Godot 4.0 beta 11

Mircosoft Game Dev

Be sure to report anything that stops working as expected in your scripts. Editor: Fix error when dropping script into script editor ( GH-70580 ). Editor: Fix resource picker regression for scripted resources ( GH-70277 ). GUI: Expose Tree::deselect_all to scripting ( GH-71056 ). get_root() ).

Beta 105
article thumbnail

Navigation Server for Godot 4.0

Mircosoft Game Dev

Runtime navigation mesh baking. Collision avoidance support. Now the NavigationRegion can be added during gameplay, and it's possible to change its transform or even bake the navigation mesh data at runtime. The agent is also responsible for avoiding collisions. Collision avoidance dynamic map updates. Character.

Agent 52
article thumbnail

Dev snapshot: Godot 4.0 beta 12

Mircosoft Game Dev

A couple fixes to the text resource loader which could impact notably reloading scripts ( GH-71170 ). OBJ mesh import now supports vertex colors as exported by Blender ( GH-71033 ). Physics fixes and improvements for sphere-capsule, sphere-box, sphere-cylinder, and capsule-cylinder collisions ( GH-70660 , GH-70787 ).

Beta 85
article thumbnail

Dev snapshot: Godot 4.0 beta 11

Mircosoft Game Dev

Be sure to report anything that stops working as expected in your scripts. Editor: Fix error when dropping script into script editor ( GH-70580 ). Editor: Fix resource picker regression for scripted resources ( GH-70277 ). GUI: Expose Tree::deselect_all to scripting ( GH-71056 ). get_root() ).

Beta 81