Hook v1.0 sample test on Unity

Опубликовано: 15 Июль 2026
на канале: Parsue Choi (Parsue)
40
0

This is an event solution on Unity.

hook allows you hook any type of data, and add listener to it.
hook will call listeners when the value is changed.
an exposed hook can be got by other objects for add listener to it.
hook is sealed as default.
the value cannot be changed if the hook is locked.
inspector will show a blue listener icon in front of hook name

v1.0 is not optimized for collections or any custom struct/class.