We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e718a64 commit a00ad53Copy full SHA for a00ad53
ModsThanos/ComponentMap.cs
@@ -35,8 +35,8 @@ private void Start() {
35
BoxCollider2D collider = component.AddComponent<BoxCollider2D>();
36
collider.size = new Vector2(1f, 1f);
37
collider.isTrigger = true;
38
- component.transform.position = position;
39
- component.transform.localPosition = position;
+ component.transform.position = new Vector3(position.x, position.y, - 50);
+ component.transform.localPosition = new Vector3(position.x, position.y, -50);
40
component.transform.localScale = new Vector3(0.6f, 0.6f, 0.6f);
41
42
component.SetActive(true);
0 commit comments