Skip to content

Commit a58eb41

Browse files
author
dsol-cpu
committed
hide the pin after instancing the pins
1 parent a9690ca commit a58eb41

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Assets/Scenes/Game.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ Transform:
946946
m_PrefabAsset: {fileID: 0}
947947
m_GameObject: {fileID: 5750570703313814486}
948948
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
949-
m_LocalPosition: {x: 1.75, y: 0.25, z: 0}
949+
m_LocalPosition: {x: 1.5, y: 0.25, z: 0}
950950
m_LocalScale: {x: 1, y: 1, z: 1}
951951
m_ConstrainProportionsScale: 0
952952
m_Children: []

Assets/Scripts/InstancePinMeshManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public void InstantiatePins(int count, GameObject pinObject, List<Location> loca
7979
}
8080

8181
pinTransformsArray = new TransformAccessArray(pinTransforms);
82-
// pinObject.SetActive(false);
82+
pinObject.SetActive(false);
8383
}
8484

8585
void Update()

0 commit comments

Comments
 (0)