Add scaling big trees
This commit is contained in:
parent
cf6c4ff6f9
commit
f8ed3cfd39
@ -134,7 +134,9 @@ public class Main : MonoBehaviour
|
||||
}
|
||||
else
|
||||
{
|
||||
renderedTrees.Add(Instantiate(tree, new Vector3(i + positionShift_x + randomShiftX, 0, k + positionShift_z + randomShiftZ), Quaternion.Euler(rotationVectorShiftX)));
|
||||
GameObject duzySKurwol = Instantiate(tree, new Vector3(i + positionShift_x + randomShiftX, 0, k + positionShift_z + randomShiftZ), Quaternion.Euler(rotationVectorShiftX));
|
||||
duzySKurwol.transform.localScale = new Vector3(0.05f, 0.05f, 0.05f);
|
||||
renderedTrees.Add(duzySKurwol);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user