Topic Author
Posts: 2
Joined: 12 Nov 2014, 10:05

Adding XAML to GameObject in Unity

19 Nov 2014, 13:36

According to the introductory tutorial (viewtopic.php?f=3&t=75), the component "Noesis GUIPanel" is created in the Camera. Is it possible to add a XAML to a GameObject instead?

My goal is to have several XAML files added to different GameObjects in order to perform some kind of interaction among them.
User avatar
Site Admin
Posts: 3018
Joined: 20 Jan 2012, 17:18

Re: Adding XAML to GameObject in Unity

19 Nov 2014, 14:11

As explained in the Using NoesisGUI within Unity tutorial there are two ways to use a Noesis GUIPanel component:
  • Attached to a camera to display HUDs
  • Attached to a game object for render to texture
If you attach the XAML to a gameobject that is not a camera, the XAML is rendered to a texture that can be used by the object. There is sample (RenderToTexture) inside the unitypackage showing that.

Who is online

Users browsing this forum: No registered users and 0 guests