Jump to content

Creating Views- HTML?


iamchairs

Recommended Posts

Supposedly some HTML (renamed to Unity markup) can be used for some things, but I'm afraid for the layout you'll either need to write an HTML-to-GUI translator (it would be easier to rebuild the planet out of toothpicks I think) or tackle the GUI code.

Link to comment
Share on other sites

it would be easier to rebuild the planet out of toothpicks I think

Yeah, trying to recreate html is not a great idea. But I don't think it would be too difficult to have something like-


<Box width="100%">
<Button left="20" top="20" style="[GUIStyle params]" click="someMethod()">Button Text</Button>
</Box>

- - - Updated - - -

I almost think it would take as long to create that as it would be to manually create a view. But the former would be more fun.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...