text: ﻿// Fill out your copyright notice in the Description page of Project Settings.
  
  #pragma once
  
  #include "CoreMinimal.h"
  #include "MassObserverProcessor.h"
  #include "UObject/Object.h"
  #include "MSObserverSamples.generated.h"
  
  /**
   * 
   */
  UCLASS()
  class MASSSAMPLE_API UMSObserverOnAdd : public UMassObserverProcessor
  {
  	GENERATED_BODY()
  
  public:
  
  	UMSObserverOnAdd();
  	
  protected:
  	
  	FMassEntityQuery EntityQuery;
  
  	virtual void ConfigureQueries() override;
  	virtual void Execute(UMassEntitySubsystem& EntitySubsystem, FMassExecutionContext& Context) override;
  
  };
  