Advertisement
Guest User

Untitled

a guest
Jun 18th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.66 KB | None | 0 0
  1. // Fill out your copyright notice in the Description page of Project Settings.
  2.  
  3. #pragma once
  4.  
  5. #include "GameFramework/Actor.h"
  6. #include "MyActorComponent.h"
  7. #include "MyActor.generated.h"
  8.  
  9. UCLASS()
  10. class MYPROJECT_API AMyActor : public AActor
  11. {
  12.     GENERATED_BODY()
  13.    
  14. public:
  15.     // Sets default values for this actor's properties
  16.     AMyActor(const FObjectInitializer& ObjectInitializer);
  17.  
  18.     // Called when the game starts or when spawned
  19.     virtual void BeginPlay() override;
  20.    
  21.     // Called every frame
  22.     virtual void Tick( float DeltaSeconds ) override;
  23.  
  24.     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Attributes)
  25.         UMyActorComponent* Attributes;
  26.    
  27. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement