Should we set default value for TriggerVolume pointer variable in constructor, like this:
// Sets default values for this component’s properties
UOpenDoor::UOpenDoor()
: PressurePlate(nullptr)
{
…
Or unreal does this job instead of us?
Should we set default value for TriggerVolume pointer variable in constructor, like this:
// Sets default values for this component’s properties
UOpenDoor::UOpenDoor()
: PressurePlate(nullptr)
{
…
Or unreal does this job instead of us?