Пример #1
0
 private void OnDestroy()
 {
     m_PositionEvent?.Unregister(OnPosChange);
 }
Пример #2
0
 private void OnDisable() => onGroundTileChangedPosition.Unregister(UpdateAmount);
Пример #3
0
 private void OnDisable() => onPlayPoof.Unregister(PlayPoofAnimation);
Пример #4
0
 private void OnDestroy()
 {
     m_Rotation?.Unregister(OnRotationChange);
 }