resource

Requests the system have access to the given resource. The resource will be added to the list of arguments of the callback in the order they're provided.

Arguments

  • self_ : ScriptSystemBuilder - The system builder to add the resource to.
  • resource : ScriptResourceRegistration - The resource to add.

Returns

  • builder : ScriptSystemBuilder - The system builder with the resource added.