Hi,
I read the UE4 documentation and understand what a TSubclassof class is used for, however I am not sure why the lecture chose to use this in the ToonTanks course.
In the ProjectileBase actor, he declared a DamageType, however as follows:
However, would the whole purpose of TSubclassOf be nullified by just writing:
UPROPERTY(EditDefaultsOnly, Category=Damage)
UDamageType DamageType;
To me this is the same thing?