You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
I'm now trying to cast parent class(Component) to child class(WeaponComponent).
So I made function
cast_to_weapon,But as you can see, it's hard to reuse. Because, source type only can be Component, and destination type only can be WeaponComponent...
So I want to denote this like below,
How can this be possible?