자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
private void AddWeaponIfExists(EquipmentSlotType slotType) { ScriptableItem item = equipmentManager.GetEquippedItem(slotType); if (item is ScriptableWeapon) { weapons.Add(new Weapon( this.gameObject, (ScriptableWeapon)item, equipmentManager.GetEquippedItemGameObject(slotType) )); } }