Class WorldSubsystem
Subsystem bound to an actor world.
public abstract class WorldSubsystem : SubsystemBase
- Inheritance
-
WorldSubsystem
- Derived
- Inherited Members
Constructors
WorldSubsystem()
protected WorldSubsystem()
Methods
CanCreate(WorldContext)
Whether WorldSubsystem can create
public virtual bool CanCreate(WorldContext worldContext)
Parameters
worldContextWorldContext
Returns
GetOrCreate(Type)
Get or create system if not registered
public static WorldSubsystem GetOrCreate(Type type)
Parameters
typeType
Returns
GetOrCreate<T>()
Get or create system if not registered
public static T GetOrCreate<T>() where T : WorldSubsystem, new()
Returns
- T
Type Parameters
T