From db496f837b30da644fdec94af1a1d42dcbd02919 Mon Sep 17 00:00:00 2001 From: KeSuave Date: Fri, 13 Dec 2024 09:55:27 -0800 Subject: [PATCH] feat: exposes utilities to find world and game obj with world component --- src/lib/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/lib/index.ts b/src/lib/index.ts index 1aa3489..d4929bc 100644 --- a/src/lib/index.ts +++ b/src/lib/index.ts @@ -63,3 +63,10 @@ export type { } from "./components/WheelJoint"; export type { KPWorldComp } from "./components/World"; export type { KPUserData } from "./types"; + +// utilities +export { + findWorldContainer, + getWorldContainerFromGameObj, + getWorldFromGameObj, +} from "./utils";