private void Awake() { roomData = GetComponent <BaseRoomData>(); roomData.Initialize(BaseRoomData.ContentSprite.storage); foreach (var point in GetComponentsInChildren <StoragePoint>()) { storagePoints.Add(point); } storagePoints.TrimExcess(); }
public void Start() { roomData = gameObject.GetComponent <BaseRoomData>(); roomData.Initialize(BaseRoomData.ContentSprite.drugLab); }
public void Awake() { roomData = gameObject.GetComponent <BaseRoomData>(); roomData.Initialize(BaseRoomData.ContentSprite.stairs); }
public void Start() { roomData = gameObject.GetComponent <BaseRoomData>(); roomData.Initialize(BaseRoomData.ContentSprite.weedPlantation); }
private void Awake() { roomData = GetComponent <BaseRoomData>(); roomData.Initialize(BaseRoomData.ContentSprite.weedPlantation); }