Method HasSingleton
HasSingleton<T>()
Checks whether a singleton component of the specified type exists.
Declaration
public static bool HasSingleton<T>() where T : class
Returns
Type Parameters
Name | Description |
---|---|
T | The IComponent |
Remarks
Not working in Entities.ForEach, IJobEntity, Utility methods, and Aspects