Texture assign in Prop Editor


In editor right "click->setTexture" works fine. But if you just change value in prop editor, nothing happends.


JimJams wrote Sep 5, 2011 at 7:26 AM

Hi avrDragon. This is by design, the particleTextureAssetName property is the path of the asset in your games content project. There's no way for the editor to know the layout of your content folder structure or file names, so you must input this manually if you want to use the LoadContent method. Clicking SetTexture in the editor is only for design preview, its up to the developer to make sure the right texture is loaded at runtime :-)