Requiring Components in Unreal Engine

A really useful feature of Unity is that a MonoBehaviour can specify its required components, which adds those other components to a GameObject when the MonoBehaviour is added. Does Unreal Engine 5 have something similar?

Example:

[RequireComponent(typeof(Rigidbody))]

None documented in the docs

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms