Author Topic: Sprite and Font reference disappears in prefab  (Read 2567 times)

ashwanikumar04

  • Guest
Sprite and Font reference disappears in prefab
« on: April 01, 2013, 08:02:28 AM »
Hello All:

I am creating a scrollable grid. For that I created a prefab for the row item.
For SD and HD support I created a reference Sprite and Font and using the same in the item to create the prefab.
The prefab is losing all the connection to Spite and Font originally attached to the item from which prefab was created. I am not sure why it is happening.
If I  directly use one of the Sprite (SD or HD), then the prefab maintains the reference.
How to create prefab with reference Atlas?
Can somebody help me in this?

Thanks
Ashwani
« Last Edit: April 01, 2013, 10:47:04 AM by ashwanikumar04 »

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Sprite and Font reference disappears in prefab
« Reply #1 on: April 01, 2013, 08:49:54 AM »
Reference sprite?

You should make a Reference Atlas, which can point to your Low Res atlas by default. Then the prefabs shouldn't lose the references.