Question by
Ash-Blue · Feb 10, 2016 at 05:53 AM ·
c#prefabprefab-instance
Call method on prefab without instantiating
I have an inventory in my game and I want to use uninitialized prefabs to reference some simple data. Is there any reason I couldn't have a method on my item prefab script such as TransformData(), which would return a dictionary? While my initial tests show this works, is it safe as long as I'm not altering data on the prefab?
Comment