I want to link css file with html in Unity with the help of Power UI. I already converted css file into bytes format but it not still worked. Here is the code

    <link href="Resources/bootstrapUnity.css.bytes"/>
    <h1>Hello Game</h1>
    <button type="button" class="btn btn-success btn-lg">Play</button>
    <button class="btn btn-info">Test</button>

1 Answer 1


The default href with PowerUI is resources:// so you don't need Resources/ just /bootstrapUnity.css.

(If you have the .bytes extension added, this means you don't need it mentioned in the HTML file, as Unity will 'name' it without .bytes so that .css/.js links work normally..)..

Assuming bootstrapUnity.css.bytes is in the root of a 'resources' folder, try: <link href="/bootstrapUnity.css"/>


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .