PotionGui
This commit is contained in:
@@ -13,7 +13,7 @@ GameObject:
|
||||
- component: {fileID: 535055519960375857}
|
||||
- component: {fileID: 2492104367656422644}
|
||||
m_Layer: 0
|
||||
m_Name: Text (TMP)
|
||||
m_Name: HealthBig
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -35,7 +35,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 100, y: 0}
|
||||
m_AnchoredPosition: {x: 150, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &3729392411308814688
|
||||
@@ -297,7 +297,7 @@ GameObject:
|
||||
- component: {fileID: 4795552151069639100}
|
||||
- component: {fileID: 4576974581871443905}
|
||||
m_Layer: 0
|
||||
m_Name: Text (TMP)
|
||||
m_Name: HealthBig
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
@@ -319,7 +319,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||
m_AnchoredPosition: {x: 100, y: 0}
|
||||
m_AnchoredPosition: {x: 150, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 50}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!222 &5692096231889078255
|
||||
|
||||
@@ -73,6 +73,7 @@ public class RoomHandler : MonoBehaviour
|
||||
enemyPrefabsLocal.RemoveAt(0);
|
||||
|
||||
// Select a spawn point with round-robin
|
||||
Debug.Log("Ammount of spawn points: " + spawnPoints.Count);
|
||||
GameObject spawnPoint = spawnPoints[i % spawnPoints.Count];
|
||||
|
||||
Instantiate(enemyPrefab, spawnPoint.transform.position + new Vector3(0, 1, 0), Quaternion.identity);
|
||||
|
||||
Reference in New Issue
Block a user