Skip to content

Commit 9c71f03

Browse files
author
Roberto De Ioris
committed
renamed PyActorComponent to PythonComponent
1 parent 9970cf9 commit 9c71f03

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎Source/UnrealEnginePython/Private/PyActor.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88

99

10-
UCLASS(BlueprintType, Blueprintable, Config = Engine, ClassGroup = (Python))
10+
UCLASS(BlueprintType, Blueprintable)
1111
class APyActor : public AActor
1212
{
1313
GENERATED_BODY()

Source/UnrealEnginePython/Private/PyActorComponent.cpp renamed to Source/UnrealEnginePython/Private/PythonComponent.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#include "UnrealEnginePythonPrivatePCH.h"
2-
#include "PyActorComponent.h"
2+
#include "PythonComponent.h"
33

44

55

6-
UPyActorComponent::UPyActorComponent()
6+
UPythonComponent::UPyActorComponent()
77
{
88
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn these features
99
// off to improve performance if you don't need them.
@@ -16,7 +16,7 @@ UPyActorComponent::UPyActorComponent()
1616

1717

1818
// Called when the game starts
19-
void UPyActorComponent::BeginPlay()
19+
void UPythonComponent::BeginPlay()
2020
{
2121
Super::BeginPlay();
2222

@@ -84,7 +84,7 @@ void UPyActorComponent::BeginPlay()
8484

8585

8686
// Called every frame
87-
void UPyActorComponent::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
87+
void UPythonComponent::TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction)
8888
{
8989
Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
9090

@@ -100,7 +100,7 @@ void UPyActorComponent::TickComponent(float DeltaTime, ELevelTick TickType, FAct
100100

101101
}
102102

103-
UPyActorComponent::~UPyActorComponent()
103+
UPythonComponent::~UPyActorComponent()
104104
{
105105
Py_XDECREF(py_component_instance);
106106
UE_LOG(LogPython, Error, TEXT("Python UActorComponent wrapper XDECREF'ed"));

Source/UnrealEnginePython/Private/PyActorComponent.h renamed to Source/UnrealEnginePython/Private/PythonComponent.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22

33
#include "Components/ActorComponent.h"
44

5-
#include "PyActorComponent.generated.h"
5+
#include "PythonComponent.generated.h"
66

77

88

99
UCLASS(ClassGroup = (Python), meta = (BlueprintSpawnableComponent))
10-
class UPyActorComponent : public UActorComponent
10+
class UPythonComponent : public UActorComponent
1111
{
1212
GENERATED_BODY()
1313

1414
public:
1515
// Sets default values for this component's properties
16-
UPyActorComponent();
17-
~UPyActorComponent();
16+
UPythonComponent();
17+
~UPythonComponent();
1818

1919
// Called when the game starts
2020
virtual void BeginPlay() override;

0 commit comments

Comments
 (0)