C#

[uGUI]PanelManager v1.4

The new feature in this Version is First Selected.

Bildschirmfoto 2015-12-29 um 12.44.13.png

 

You now can set the First Selected GameObject on each managed panel. This directly accesses Unity’s eventsystem and sets the GameObject in the appropriate slot.

This helps especially when creating controller based ui control schemes.

 

 

And of course thanks to all who are submitting bugs.

  • Fixed a bug there you could only add one script call in a slot like “Call before show” cause the slots did not expand properly.

 

Version is currently in unity’s review process and should be out during the next days.

Advertisements

Ran out of Trampolines

If Xcode tells you that you ran out of trampolines and your app crashes, don’t worry your application still can jump on your IOS device 😉 If you heavily use recursive Generics (type 1) or like in my case interfaces (type 2) just set the AOT settings higher!

I had a great laugh when i read for the first time that my Application ran out of trampolines 🙂 

Type 0 (default 1024)

-aot “ntrampolines=2048”

Type 1 (default 1024)

-aot “nrgctx-trampolines=2048”

Type 2 (default 128)

-aot “nimt-trampolines=512”

 

Just go to your Unity3D PlayerSettings -> Other -> AOT Compilation Options and paste the line from above there:

Ran out of Trampolines type 2

AOT Compilation Options in PlayerSettings under Other Settings

 

Source: http://developer.xamarin.com/guides/ios/troubleshooting/troubleshooting/

 

have fun jumping on your new trampolines 🙂

[uGUI]PanelManager 1.2 Released

Version 1.2 is now live in the AssetStore

Release Notes:

  • Fixed bug were Methods (before enter state and before leave state) where not called when transition duration was zero
  • Fixed bug in PanelSwitcher component where hiding a hidden panel resulted in showing it
  • Fixed Null reference bug in PanelSwitcher component
  • Added: You can now set MainPanels to show instant on Start or SceneSwitch
  • Added: You can now have multiple mainPanels
  • Changed Calling Methods on changing state from to UnityEvents (previously Methods where called with „SendMessage“)
  •  Change: exposed
    • public static uGUIManagedPanel FindPanel(string name)
    • you can now get the instance or the GameObject of any panel by calling
    • uGUIManager.FindPanel(“PanelName”).CachedGameObject

Random generated dungeon Part2

A little update on my random generated dungeon thingy with the relative neighborhood graph algorithm.

Bildschirmfoto-2013-09-15-um-15.19.16

I randomly generated some nodes on a grid and calculated the neighborhoods with the rng algorithm. Then i calculated the ways on the grid using A*.

 

 

 

 

 

 

 

 

 

Bildschirmfoto-2013-09-16-um-22.06.38After that i added the feature of randomly placed predefined rooms(light blue).

And i connected those with the rest of the nodes. Added some dummy graphics and collision and voila there is my prototype dungeon.

 

 

 

 

 

 

 

Right now i’m thinking about more features and more parameters to control the outcome … so stay tuned ;)