Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SandiCassidy

Pages: [1]
1
Hi;
I am using the inventory example in my loading screen. I give the user some buttons with images of characters on it, and when they press the button, I load a prefab (in place of the Orc). I am using Playmaker (And a spawn pool from Pool Manager) to do this.  (Pmt Spawn, Set Parent - to set spawn's parent to Character Pivot).

For each of the item slots (like Weapon, Body, etc.) there is an attribute in the UIEquipmentSlot script called Equipment, that I need to set to that character, but I can't figure out how to do this. I can't pre-set the value in the Inspector because it changes during runtime.

Can you give me a 'how to' to accomplish this?

Thanks,

Sandi

2
NGUI 3 Support / Loading Inventory into Backpack
« on: December 08, 2013, 12:35:59 PM »
Hi;
I am building a dressing room scene and using the Inventory example as a basis. I want to load all my inventory items into the backpack (I call it Selection) and allow the user to take one and equip it (move item from backpack to a slot). I have items in the inventory but am not sure how to preload the backpack. Can you give me an idea of how to do that?

Thanks

Sandi

3
NGUI 3 Support / Re: UISpriteData namespace Missing
« on: December 08, 2013, 12:27:17 PM »
Strangely - that worked. Not sure why it needed to be imported twice but this time a few more objects came in.

Thanks

4
NGUI 3 Support / UISpriteData namespace Missing
« on: December 07, 2013, 05:01:39 PM »
I upgraded to the latest release but am getting a number of compile errors like this "Assets/NGUI/Scripts/UI/UILabel.cs(60,43): error CS0246: The type or namespace name `NGUIText' could not be found. Are you missing a using directive or an assembly reference?" It also is complaining about 'UISpriteData'.  What directive is missing?

I also upgraded the add ons Playmaker NGUI scripts and SceneManager but can't find any way to figure out why NGUI won't load or where a possible conflict could be. (Menu won't load because of compile errors). 

Sandi

Pages: [1]