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