GameDev_Tips's profile picture. Helpful game development tips, curated by indie devs with years of professional development experience.

GameDevTips

@GameDev_Tips

Helpful game development tips, curated by indie devs with years of professional development experience.

Did you know: You can change the way how duplicates are named in Unity. Simply go to Project Settings -> Editor -> Game Object Naming. #unitytips


Use Alt + Ctrl to select and edit multiple lines at once in Visual Studio. #coding


GameDevTips さんがリポスト

#CodingTips Avoid returning null for collections in #csharp! This removes the need for null checks in the code that consumes the call. Return the type IReadOnlyList<T> to work only on the content and return Array.Empty<T> to not allocate memory. #UnityTips #GodotTips #indiedev

BinaryImpactG's tweet image. #CodingTips

Avoid returning null for collections in #csharp! This removes the need for null checks in the code that consumes the call.

Return the type IReadOnlyList&amp;lt;T&amp;gt; to work only on the content and return Array.Empty&amp;lt;T&amp;gt; to not allocate memory.

#UnityTips #GodotTips #indiedev

Unity Devs: Pass GameObjects or MonoBehaviours as context to debug logs in order to highlight those objects in the hierarchy when clicking on the log in console. #gamedev #unity #gamedevtips #coding #indiegamedev #unitytips


GameDevTips さんがリポスト

A little tip for Debug.Log in Unity Console, you can use rich text. #unitytips #gamedev #indiedev #unity #tips #programming

MarioJacobCom's tweet image. A little tip for Debug.Log in Unity Console, you can use rich text.
#unitytips #gamedev #indiedev #unity #tips #programming

GameDevTips さんがリポスト

#unitytips: You can set a GameObject as the default parent in your scene by right clicking and selecting "Set as Default Parent" #gamedev #unity3d


Unity Devs: Use the "FormerlySerializedAs" attribute to keep values of editor fields even after renaming them in your script. #gamedev #unity #gamedevtips #coding #indiegamedev API Doc: docs.unity3d.com/ScriptReferenc…

GameDev_Tips's tweet image. Unity Devs: Use the &quot;FormerlySerializedAs&quot; attribute to keep values of editor fields even after renaming them in your script. #gamedev #unity #gamedevtips #coding #indiegamedev

API Doc: docs.unity3d.com/ScriptReferenc…

このアカウントは現在誰もフォローしていません

United States トレンド

Loading...

Something went wrong.


Something went wrong.