Announcement

Collapse
No announcement yet.

Is there a C++ equivalent to MyClass_C ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Is there a C++ equivalent to MyClass_C ?

    Hey everyone,

    I prototyped a number of functions and classes in blueprints and now I'm starting to convert them into C++. When a blueprint is created there are two types related to it, MyClass (blue icon) and MyClass_C (purple icon). I've accomplished MyClass propertys no problem, but how does one deal with MyClass_C in C++? As far as I can tell MyClass is the specific instance, MyClass_C is more of a type specifier. Not sure how to translate this into C++.

    Thanks,
    Andrew.

    #2
    I got the answer to my question from AnswerHub! In case anyone needs it in the future:

    UPROPERTY(blah)
    TSubclassOf<MyClass> MyClassType;

    Comment

    Working...
    X