Advertisement
Guest User

KillerCube.h

a guest
May 10th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
  2.  
  3. #pragma once
  4.  
  5. #include "GameFramework/Actor.h"
  6. #include "KillerCube.generated.h"
  7.  
  8. /**
  9.  *
  10.  */
  11. UCLASS()
  12. class AKillerCube : public AActor
  13. {
  14.     GENERATED_UCLASS_BODY()
  15.  
  16.     /** Sphere collision component */
  17.     UPROPERTY(VisibleDefaultsOnly, Category = Cube)
  18.     TSubobjectPtr<UStaticMeshComponent> MeshComp;
  19.  
  20.     UPROPERTY(VisibleDefaultsOnly, Category = Cube)
  21.     TSubobjectPtr<UStaticMeshComponent> TempMesh;
  22.  
  23.  
  24.     TArray<UStaticMeshComponent*> MeshArray;
  25.  
  26.     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Cube)
  27.     float ForcePower;
  28.  
  29.     void Tick(float DeltaSeconds);
  30.     void BeginPlay();
  31. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement