Typescript

TS: Casting to Interfaces at Runtime

TS: Casting to Interfaces at Runtime

In C#/Unity, there is an excellent affordance of using GetComponent to retrieve components based on their interface.

Read More