Posts by Year

2022

Life Cycle

2 minute read

Unity Life Cycle - Initialization When using a MonoBehaviour script, there are three possible methods: Awake, OnEnable and Start. It’s important to distingu...

Humble Object Pattern

1 minute read

Definition The Humble Object pattern as stated in book ‘Clean Architecture: A Craftsman’s Guide to Software Structure and Design’ By Robert Martin states: “...

Another way to get a component

less than 1 minute read

When trying to get a component in a script, we mainly use GetComponent<T> to find that component. So what does GetComponent actually do? It cycles on t...

What is Require Component

less than 1 minute read

When creating scripts, they may use a lot of different components, and we would want to check that those components are attached before we perform any action...

Back to Top ↑