Search found 36 matches
- 28 Nov 2014, 01:36
- Forum: General Discussion
- Replies: 7
- Views: 2311
Re: [Unity] StaticExtensions
I just gave this a try, and it doesn't seem to work if there's a namespace for the class. Not sure if there's a workaround for this other than removing the namespace (I like namespaces!), but for now I'll leave the namespaces out and this works just fine.
- 24 Nov 2014, 23:27
- Forum: General Discussion
- Replies: 7
- Views: 2311
Re: [Unity] StaticExtensions
Great, this will work in the meantime! Is there plans to add proper statics so that we can use any static class?
- 20 Nov 2014, 21:02
- Forum: General Discussion
- Replies: 7
- Views: 2311
[Unity] StaticExtensions
Hi, I'm trying to bring in some theming capabilities into our application, and we are thinking of using something along the lines of {x:Static Theming.PrimaryColor} to use the theming colors in our application. However, we're not sure how to get the statics defined. We've tried doing something like ...
- 10 Oct 2014, 22:18
- Forum: General Discussion
- Replies: 12
- Views: 5958
Re: [Unity] Starting a storyboard after dynamic load
Yes, I'm currently running 1.1.12 as well, on the RT trial, so I do see the UpdateLayout() function. It doesn't seem to be working for me though. At what point did you call UpdateLayout()?
- 09 Oct 2014, 17:55
- Forum: General Discussion
- Replies: 12
- Views: 5958
Re: [Unity] Starting a storyboard after dynamic load
This didn't seem to work. I've tried it both in the monobehaviour that creates the view, and the view itself in OnPostInit. Is there a specific time to run the UpdateLayout call?
- 06 Oct 2014, 21:40
- Forum: General Discussion
- Replies: 6
- Views: 2725
Re: Loading resources at run-time
Great. I should be able to modify the guids file as I need to, but I think changing that mounting point is a great step for us.
Thanks!
Thanks!
- 06 Oct 2014, 19:11
- Forum: General Discussion
- Replies: 6
- Views: 2725
Re: Loading resources at run-time
I haven't tried assetbundles yet, and is next on my list to try. AFAIK, they are loaded in and not really extracted anywhere, and you're expected to load from it using Resource.Load<> which isn't useful in this case. However, I did notice this line in the NoesisGUISystem.cs file (v1.1.11): int devic...
- 06 Oct 2014, 18:25
- Forum: General Discussion
- Replies: 6
- Views: 2725
Re: Loading resources at run-time
This is what I would like, yes, however, if there is no mapping from filename -> guid anymore, does that mean guids will stay static? Or will the files in StreamingAssets be the same name as the original ource files? Also, how would we go about downloading the resources at run-time and loading it in...
- 05 Oct 2014, 04:47
- Forum: General Discussion
- Replies: 6
- Views: 2725
Loading resources at run-time
Hi, One of the requirements for the project I'm working on, is to be able to load in XAML files dynamically at runtime, from an outside source. The idea is to support new views being brought in, similar to AssetBundles. I've managed to write a script that allows me to build the XAML files using Unit...
- 01 Oct 2014, 01:01
- Forum: General Discussion
- Replies: 12
- Views: 5958
Re: [Unity] Starting a storyboard after dynamic load
I created a sample here at this gist: https://gist.github.com/MrHayato/4d1bef7b2af8c6aad1cb While creating a sample, I noticed something that might be the cause of the problem. In the storyboard, the Y value is a binding to the height of the control. However, if I remove the binding, and use an inte...