Gemeinsame Initiative der regionalen Gamesbranche
Mainz, den 28.06.2022 Sieben Games-Entwickler aus Rheinland-Pfalz schließen sich zusammen, um Rheinland-Pfalz als Games-Standort sichtbarer zu machen. Am D
Kostenloses Raspberry E-Book
Bereits 2020 brachte Sebastian Pohl mit „Raspberry Pi: Kompendium: Linux, Programmierung und Projekte“ ein Buch auf dem Markt, welches seine Leidenschaft für D
easy way to implement a undo / redo mechanic
#UnityTips Here is an easy way to implement a undo / redo mechanic. When you move your element create a new instance of a MoveElementCommand and add it to the
use a solution that replace the exact same lines of codes
#UnityTips If you find the exact same lines of code multiple times in your project you could and should always think about a solution that replaces those insta
implement default methods in interface
#UnityTips Since Unity 2020.2 we have access to the features of #csharp 8.0 Among many things we can now also implement default methods in interfaces which was
some physics functions have a NonAlloc variant
#UnityTips Did you know that some physics functions have a NonAlloc variant?If memory consumption / garbage collection is an issue in you project, try this! Be
JIT compiler determines which methods to inline
#UnityTips The JIT compiler determines which methods to inline. But sometimes we know better than it does. With AggressiveInlining, we give the compiler a hint.
Android: debug messages directly in unity
#UnityTips Do you develop for #Android?Try the Android Logcat Package to get debug messages directly in unity and much more presentable than the console ὠ
check if an object is in front of another object
#UnityTips If you want to check if an object is in front of another object you can use the InverseTransformPoint method. As long as you follow the "z is fo
three ways of running through a list of derived classes
#UnityTips Today we have three ways of running through a list of derived classes. See our code example for more details.#coding #indiedev #gamedev pic.twitter.c
unity VideoPlayer with an URL
#UnityTips If you use an unity VideoPlayer with an URL you might want to resize your raw image.The clip won't be available for the calculations.Subscribe to
Did you ever need a const dictionary
#UnityTips Did you ever need a const dictionary?According to the C# specification, switch-case tables are compiled to constant hash jump tables. 🤔ǹ
How to get started with unit tests
#UnityTips How to get started with unit tests in your project:Select TestRunner from the Window->General menu and create an assembly.In Visual Studio Right C
access and edit those from the asset files in the ProjectSettings folder
#UnityTips Ever needed to set some project settings and found out there is no API access to it? You can access and edit those from the asset files in the Projec
you can add multiple types to [RequireComponent]
#UnityTips Of course it is common knowledge to add the attribute [RequireComponent] to your scripts to have unity put those Components onto your GameObject.But