private void Start() { isShopOpenedClosed = true; PlayerBackPack.GetComponent <SkinnedMeshRenderer>().sharedMesh = backPacks[saveSystem.localButtonCounter]; shopBackPackShower.GetComponent <MeshFilter>().mesh = backPacks[saveSystem.localButtonCounter]; }
public void EquipBackPack() { PlayerBackPack.GetComponent <SkinnedMeshRenderer>().sharedMesh = backPacks[saveSystem.localButtonCounter]; saveSystem.SaveShopData(); }