Skip to content

Commit 16c43fe

Browse files
committed
fix(assets): small fixes on obj tags for building placement
1 parent b66f884 commit 16c43fe

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

Assets/Resources/Prefabs/Units/Buildings/Tower.prefab

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ MonoBehaviour:
135135
fov: {fileID: 2773615676608542857}
136136
meshRenderer: {fileID: 1277570843251847066}
137137
contextualSource: {fileID: 231915562201925242}
138+
animator: {fileID: 0}
138139
ownerMaterialSlotIndex: 3
139-
ambientSource: {fileID: 0}
140+
ambientSource: {fileID: 231915562201925242}
140141
--- !u!114 &-4105628491187885730
141142
MonoBehaviour:
142143
m_ObjectHideFlags: 0

Assets/Scenes/GameScene.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7726,7 +7726,7 @@ GameObject:
77267726
- component: {fileID: 1466245625}
77277727
m_Layer: 10
77287728
m_Name: CameraFOVWrapper
7729-
m_TagString: Untagged
7729+
m_TagString: Terrain
77307730
m_Icon: {fileID: 0}
77317731
m_NavMeshLayer: 0
77327732
m_StaticEditorFlags: 0

Assets/Scenes/Maps/Map2.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ GameObject:
445445
- component: {fileID: 885986373}
446446
m_Layer: 0
447447
m_Name: Terrain
448-
m_TagString: Untagged
448+
m_TagString: Terrain
449449
m_Icon: {fileID: 0}
450450
m_NavMeshLayer: 0
451451
m_StaticEditorFlags: 4294967295

Assets/Scripts/UI/UIManager.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,7 @@ private void _OnUpdatePlacedBuildingProduction(object data)
344344
// place container top-right of the "phantom" building
345345
placedBuildingProductionRectTransform.anchoredPosition =
346346
(Vector2) Camera.main.WorldToScreenPoint(pos) / GameManager.instance.canvasScaleFactor
347-
+ Vector2.right * 40f
348-
+ Vector2.up * 10f;
347+
+ Vector2.right * 60f;
349348
}
350349

351350
private void _OnHoverSkillButton(object data)

0 commit comments

Comments
 (0)