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