Пример #1
0
 private void Awake()
 {
     m_PositionEvent?.Register(OnPosChange);
     OnPosChange();
 }
Пример #2
0
 private void OnEnable() => onGroundTileChangedPosition.Register(UpdateAmount);
Пример #3
0
 private void OnEnable() => onPlayPoof.Register(PlayPoofAnimation);
Пример #4
0
 private void Awake()
 {
     //m_OriginalRotation = transform.localRotation;
     m_Rotation?.Register(OnRotationChange);
     OnRotationChange();
 }