Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #188 from Eqicness/patch-1
Browse files Browse the repository at this point in the history
Replace '.Controllers' with '.GetController'
  • Loading branch information
Sleitnick authored Dec 25, 2021
2 parents 0f7a8cf + d1974b8 commit 1bf4158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Other code could then listen in for that event:

```lua
-- Somewhere else on the client
local CameraController = Knit.Controllers.CameraController
local CameraController = Knit.GetController("CameraController")

CameraController.LockedChanged:Connect(function(isLocked)
print(isLocked and "Camera is now locked" or "Camera was unlocked")
Expand Down

0 comments on commit 1bf4158

Please sign in to comment.