-
-
Save yelvert/2a03353bf578121b78d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fill out your copyright notice in the Description page of Project Settings. | |
#pragma once | |
#include "Tickable.h" | |
#include "CharacterAttack.generated.h" | |
/** | |
* | |
*/ | |
UCLASS(BlueprintType, Blueprintable) | |
class COMICMOBA_API UCharacterAttack : public UObject, public FTickableGameObject | |
{ | |
GENERATED_UCLASS_BODY() | |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Character") | |
FString Name; | |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Character") | |
float Cooldown; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "GameFramework/Character.h" | |
#include "CharacterAttack.h" | |
#include "ComicMOBACharacter.generated.h" | |
UCLASS(config = Game, BlueprintType, Blueprintable) | |
class AMyCharacter : public ACharacter | |
{ | |
GENERATED_UCLASS_BODY() | |
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Character") | |
UCharacterAttack* Attack; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment