Exemplo n.º 1
0
        void IEcsPreInitSystem.PreInitialize()
        {
            _reactFilter = GetReactFilter();
            _type        = GetReactSystemType();
#if DEBUG
            if (_type == EcsReactSystemType.OnRemove)
            {
                throw new System.NotSupportedException(
                          "OnRemove type not supported for delayed processing, use EcsReactInstantSystem instead.");
            }
#endif
            _reactFilter.AddListener(this);
        }
Exemplo n.º 2
0
 void IEcsPreInitSystem.PreInitialize()
 {
     _reactFilter = GetReactFilter();
     _type        = GetReactSystemType();
     _reactFilter.AddListener(this);
 }