internal override void ValidateAndExecute(ECSEntity ecsEntity, ECSManager manager) { if (Subtractive != null && Subtractive.Any(type => manager.HasComponent(ecsEntity, type))) { return; } if (!manager.HasComponent <TComponent1>(ecsEntity)) { return; } TComponent1 component1 = manager.GetComponent <TComponent1>(ecsEntity); Execute(ecsEntity, ref component1); }
internal abstract void ValidateAndExecute(ECSEntity ecsEntity, ECSManager manager);
protected abstract void Execute ( ECSEntity ecsEntity, ref TComponent1 component1);