- Home /
Question by
ExtremePowers · Oct 24, 2014 at 12:00 PM ·
prefabget
Get prefab through script
Is there a way to get the prefab from a editor script, so I can change some values on it?
Comment
Answer by Michelcyc · Jan 08, 2015 at 11:51 PM
Without having the prefabs as a component: http://answers.unity3d.com/questions/674127/how-to-find-a-prefab-via-script.html
Or Having the prefabs as a component: http://docs.unity3d.com/Manual/InstantiatingPrefabs.html
Your answer
Follow this Question
Related Questions
Get transform of instantiated Prefab; Help appreciated. 1 Answer
How do I mark an asset as processed in AssetPostprocessor class 0 Answers
Set prefab to public variable of another script 1 Answer
How to get the index value on prefab button runtime by clicking on prefab 0 Answers
Why does my prefab create a child by itself in ProjectView 0 Answers