- Home /
 
               Question by 
               spaynespayne · Apr 22, 2016 at 05:25 AM · 
                assetruntimemodel importing  
              
 
              How do I find the name of the asset that is attached to my gameObject from C#
In the Unity editor, if look at the assets in the Project/All Models, it displays the project assets and the name of each asset.
In the Unity editor, if I click on that asset, then it shows me that asset name again in the inspector.
However, from C#, I'm not sure how to get from a gameObject to find the associated asset name.
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
How to tell if a texture was generated at runtime? 1 Answer
Can I read model-data from assets at runtime via script? 2 Answers
Using pre existing assets on runtime 1 Answer
Asset preview at runtime 0 Answers
character speech 1 Answer
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                