Unity: Load Assets in Editor

Sometimes you need to load assets in the editor without the comfort of a direct reference. Assets are loaded using the AssetDatabase and it can be done by Instance ID The instance ID is visible at the top of the inspector when the inspector debug mode is active.   Beware, the instance ID  survives enter/exit … Read more

Programming Glossary

Have you ever wondered what makes code “dirty,” what refactoring entails, and why there are no silver bullets in programming? I’ve compiled a glossary with brief explanations to help you gain an overview of some of the perplexing phrases often used by programmers. If something is missing that you’d like to see explained in the … Read more

Unity: Don’t Cache in OnTrigger

In a nutshell: steer clear of OnTrigger callbacks when it comes to managing caches.   By caches, I’m referring to any collection that monitors the objects within the collider. These callbacks prove unreliable, and Unity currently has no plans to address this behaviour in the immediate future.   There’s no assurance that you’ll consistently receive … Read more

EXIT 2 – The Trial of the Griffin

A collaboration with publisher United Soft Media. Puzzle adventure for iOS, Android, and Steam, based on the award-winning EXIT – The Game® board game series.   Genre: Puzzle Platform: Android/iOS and Steam Artstil: 2D with 3D items Engine: Unity 3D Year: 2022-2023   The second digital adaptation of the series invites players to the legendary … Read more

Unity: Better Inspector

Improving the inspector in Unity can have significant benefits for game development efficiency and workflow.   An organized and easy-to-read inspector layout can provide quick access to game objects, components, and properties, making it simpler to identify and modify different elements of the game without having to navigate a cluttered and confusing interface.   In … Read more

What’s Antialiasing and Why is it Blurry?

Before we talk about antialiasing, we must discuss the problem it tries to solve. It’s called aliasing and is generated by improper sampling.   Aliasing The term originates in the field of signal processing. In computer graphics, it describes a variety of ugly artefacts and image flaws created by improper sampling. Staircase-like artefacts that appear … Read more

Book Recommendation: Algorithm Design

I really like reading in general but especially reading technical books. In contrast to digital content, a book must pass a technical review before publication. This ensures to a certain degree that the content is good or at least not entirely wrong.   When searching for information online you must always ensure that you are … Read more

Medical VR – Search Training

Search Training is a medical VR application that trains hemianopsia patients to compensate for their vision loss with eye movement and collects training data.   Genre: Medical App Platform: Google Daydream Artstil: 2D Engine: Unity 3D Year: 2018   Configurable stimuli pairs are displayed on a sphere surrounding the user. Head movement can’t be used … Read more

Unity: Animator State Lost?

Sometimes there is an animated gameObject which mustn’t stop animating or its state breaks. If it should continue off-screen you can set the Culling Mode of the animator to Always Animate.   But sometimes that’s not enough. When you disable an animator in the mid of an animation, it’s most likely stuck the next time … Read more

Unity: Events vs Interfaces

“Events are evil!” is a common opinion among Unity developers. What are the reasons behind this statement and are interfaces an alternative to events? Example implementation at the bottom.     Problems A common source for event bugs are timing issues. For an event to work correctly you have to subscribe before it’s triggered and … Read more