Multiple sprite mode for avatars

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Maltakreuz
Posts: 40
Joined: Sat Jul 25, 2015 2:36 pm

Multiple sprite mode for avatars

Post by Maltakreuz »

I am using a grids of avatars in one file and then just slice it in unit-SpriteEditor. Unfortunately in DialogEditor in actors tab it is only possible to assign entire Texture2D, so i can not reference the desired sprite with only 1 avatar.

Is any better solution, then just slice em manually in multiple files? I have an little bit worries about having >100 single sprites vs. just having 1 2048x2048 sprite atlas, will it affect somehow performace? Or unity will pack them in atlas at runtime anyware?

Example of avatar-atlas to make clear what i mean (note it is just one big image, not multiple single files):

Image
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Multiple sprite mode for avatars

Post by Tony Li »

Hi,

In the upcoming version 2.1.8, you will be able to assign individual Sprites to actor portraits.
Post Reply