- Home /
Question by
adityarocks123456 · May 10, 2021 at 02:30 PM ·
prefabbeginner
Prefabs update
My player object is a prefab and i want to change its skin when the player equips it. And i'm using
renderer.sharedMaterial = mat 1;
And it's not updating the skin at runtime. And, if i click on the player prefab in the project window and then try to change its skin, then the skin changes perfectly.
Comment
Your answer
Follow this Question
Related Questions
Need Help with Shooting Script c# 5 Answers
Position of all spawned prefabs being effected by MoveTowards (beginner question) 1 Answer
my prefab images dont appear in my scene view but are in my camera view 2 Answers
Changing prefab value during runtime 1 Answer
Trouble with tilemaps as prefabs for 2D plattformer 1 Answer