UObject* MyObject; ACharacter* MyCharacter = Cast<ACharacter>(MyObject); // Casting to ACharacter type