예제 #1
0
        protected override async Task PreInitializeComponenetAsync()
        {
            await base.PreInitializeComponenetAsync();

            CanEverTick = true;

            CanEverLateTick = true;

            Machine = new FHFSM(this);
            _hfsm   = Machine;

            await SetupHFSM();

            await _hfsm.PreInitializeAsync();
        }
예제 #2
0
 void IState.SetMachine(IHFSM machine)
 {
     Machine = (FHFSM)machine;
 }