Example #1
0
        private void OnRotationStateChangeCall(RotateState rotateState)
        {
            RotateStateMashineArgs args = new RotateStateMashineArgs();

            args.rotateState = rotateState;
            OnRotationStateChange(args);
        }
Example #2
0
        protected virtual void OnRotationStateChange(RotateStateMashineArgs e)
        {
            EventHandler <RotateStateMashineArgs> handler = RotationStateChanged;

            handler?.Invoke(this, e);
        }