コード例 #1
0
 // When the object is enabled, you must immediately add it to the channel
 private void OnEnable()
 {
     _event.RegisterListener(this);
 }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     RotationEvent.RegisterListener(Rotate);
 }