Unity 4.3 Sprite Question
If anyone has been using this feature, perhaps you can help me out:
What would the correct method be of instantiating sprites at runtime with a script? I've got a spritesheet loaded but I haven't made a prefab for each type of tile. Is there a reliable way of doing this (create a sprite, set its spritesheet and sprite name, for instance: Forest/Tile_1) or should I really be going the long route of creating prefabs for everything?
What would the correct method be of instantiating sprites at runtime with a script? I've got a spritesheet loaded but I haven't made a prefab for each type of tile. Is there a reliable way of doing this (create a sprite, set its spritesheet and sprite name, for instance: Forest/Tile_1) or should I really be going the long route of creating prefabs for everything?
Comments