en:toolworks:docs:apparatus:mechanism

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:toolworks:docs:apparatus:mechanism [2021/12/30 20:41] vladiusen:toolworks:docs:apparatus:mechanism [2021/12/30 20:52] (current) – [C++ Workflow] vladius
Line 20: Line 20:
  
 Creating your separate (possibly transient) Mechanisms is also supported and can be handy. You instantiate the Mechanism like you would any other ''UObject'' (''[[ue>API/Runtime/CoreUObject/UObject/NewObject|NewObject<UMechanism>(...)]]''):<code cpp> Creating your separate (possibly transient) Mechanisms is also supported and can be handy. You instantiate the Mechanism like you would any other ''UObject'' (''[[ue>API/Runtime/CoreUObject/UObject/NewObject|NewObject<UMechanism>(...)]]''):<code cpp>
-AMechanism* Mechanism = NewObject<UMechanism>(GetTransientPackage());+AMechanism* Mechanism = NewObject<AMechanism>(GetTransientPackage());
 </code> </code>
  
 Please, see the corresponding [[appi>class_u_mechanism.html|API reference]] for more details. Please, see the corresponding [[appi>class_u_mechanism.html|API reference]] for more details.
  
  • en/toolworks/docs/apparatus/mechanism.1640886108.txt.gz
  • Last modified: 2021/12/30 20:41
  • by vladius