Announcement

Collapse
No announcement yet.

Cconstruction script in C++ for Actor Class

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

    Cconstruction script in C++ for Actor Class

    as I can create construction script for the Actor of a class in C ++

    #2
    There is a notification that is called on an AActor once it's construction script has finished executing. Just override it in your own AActor class:

    PHP Code:
    /**
    * Called when an instance of this class is placed (in editor) or spawned.
    * @param    Transform            The transform the actor was constructed at.
    */
    virtual void OnConstruction(const FTransformTransform) {} 
    Sr. Engine Programmer @ www.playspace.com - moritzwundke.com
    Remember: be polite and respect other peoples opinions - Join the Unofficial Unreal Discord Channel - Found a bug? Then use the Bug Report Form to get it fixed ^^

    Comment

    Working...
    X