Exemple #1
0
    protected override void OnCreate()
    {
        base.OnCreate();

        _stepPhysicsWorldSystem        = World.GetOrCreateSystem <StepPhysicsWorldSystem>();
        _physicsWorldSystem            = World.GetOrCreateSystem <PhysicsWorldSystem>();
        _endFramePhysicsSystem         = World.GetOrCreateSystem <EndFramePhysicsSystem>();
        _onOverlapDamageOvertimeSystem = World.GetOrCreateSystem <OnOverlapDamageOvertimeSystem>();
    }
    protected override void OnCreate()
    {
        base.OnCreate();

        _stepPhysicsWorldSystem = World.GetOrCreateSystem <StepPhysicsWorldSystem>();
        _physicsWorldSystem     = World.GetOrCreateSystem <PhysicsWorldSystem>();
        _endFramePhysicsSystem  = World.GetOrCreateSystem <EndFramePhysicsSystem>();
        _setSignalSystem        = World.GetOrCreateSystem <SetSignalSystem>();
    }
Exemple #3
0
    protected override void OnCreate()
    {
        base.OnCreate();

        _stepPhysicsWorldSystem = World.GetOrCreateSystem <StepPhysicsWorldSystem>();
        _physicsWorldSystem     = World.GetOrCreateSystem <PhysicsWorldSystem>();
        _endFramePhysicsSystem  = World.GetOrCreateSystem <EndFramePhysicsSystem>();
        _gameActionSystem       = World.GetOrCreateSystem <ExecuteGameActionSystem>();
    }