Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
Häufig verwendete Methoden
void Start() { manager = gameObject.AddComponent(typeof(EquipmentManager)) as EquipmentManager; EquipmentManager temp = game.GetNPCEquipment(); foreach (KeyValuePair <Equipable, Color> item in temp.items) { manager.AddItem(item.Key, item.Value); } manager.materials = temp.materials; manager.AddMaterials(); Destroy(GameObject.FindGameObjectWithTag("Game")); }