plz help me …
Instantiate(Tent, Player.transform.position, Player.transform.rotation, transform.localScale = new Vector3(Player.transform.localScale.x, transform.localScale.y));
plz help me …
Instantiate(Tent, Player.transform.position, Player.transform.rotation, transform.localScale = new Vector3(Player.transform.localScale.x, transform.localScale.y));
If both objects are at a scale of 1.1.1 then it’s not going to get any bigger.
If the code above doesn’t produce errors, then what you could possible do is just add an offset to each scale axis.
So for example
transform.localScale = new Vector3(Player.transform.localScale.x + 5, transform.localScale.y + 5);
This may or may not work, haven’t tried changing scales in awhile via code.
If this answer is correct please mark it as answer so others know.
Thanks, hope I was able to help.