mirror of
https://github.com/DerTyp7/industrialize-unity.git
synced 2025-10-29 12:32:12 +01:00
productionobjects
This commit is contained in:
8
Assets/Scripts/ProductionObjects.meta
Normal file
8
Assets/Scripts/ProductionObjects.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5f559e3b4fafef42a8b244dc0d24109
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
22
Assets/Scripts/ProductionObjects/IOPort.cs
Normal file
22
Assets/Scripts/ProductionObjects/IOPort.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class IOPort : MonoBehaviour
|
||||
{
|
||||
public bool isInput;
|
||||
public ItemSO item;
|
||||
public int itemCount = 0;
|
||||
private int maxItemCount = 100;
|
||||
|
||||
public void IncreaseItemCount(int value)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void DecreaseItemCount(int value)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
11
Assets/Scripts/ProductionObjects/IOPort.cs.meta
Normal file
11
Assets/Scripts/ProductionObjects/IOPort.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c591b113fe50a140b4def235a29b17b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
6
Assets/Scripts/ProductionObjects/ProductionObject.cs
Normal file
6
Assets/Scripts/ProductionObjects/ProductionObject.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using UnityEngine;
|
||||
|
||||
public abstract class ProductionObject : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
11
Assets/Scripts/ProductionObjects/ProductionObject.cs.meta
Normal file
11
Assets/Scripts/ProductionObjects/ProductionObject.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5068fbdbb395994095235a688c2bfba
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user