Skip to Content
We're building a full JS ecosystem for Unity, with OneJS at the core (open source release soon 🚀). Also cooking up a bunch of pre-made game UIs, plus a big site revamp in progress.
DocumentationTUTORIALSSAMPLESFortnite

The Fortnite UI Sample has been updated for OneJS V2 and is available as a npm package. Refer to the video guide above for a quick Getting Started.

The Gist

  • npm install fortnite-sample
  • Setup SampleCharacter in scene
  • Test the <FortniteSample /> preact comp like below:
import { h, render } from "preact" import { FortniteSample } from "fortnite-sample" const App = () => { return <FortniteSample /> } render(<App />, document.body)