Owl.CreateController(config: ControllerConfig): RegisteredController
Client OnlyInstantiates and registers a client-side execution controller. Must be initialized strictly within structural local script runtimes.
Parameters
config* | Configuration specification specifying a unique 'Name', functional array of dependent modules and client lifecycle methods. |
Returns
RegisteredControllerThe newly registered, execution-ready local controller object wrapper.
Related Types
LUA
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Owl = require(ReplicatedStorage.OwlKnit.Owl)
local HUDController = Owl.CreateController({
Name = "HUDController",
Dependencies = { "AudioController" },
})
function HUDController:OwlInit()
self.AudioController = self.GetController("AudioController")
end
function HUDController:OwlStart()
print("UI layer initialized for local client.")
end
return HUDController