Hello!
I have read at least 8 or so threads about this and absolutely nothing worked. I am simply trying to scale down a monster to simulate distance, but it won’t work no matter what. It’s a 2D game. Here is my code:
GameObject newCreature = new GameObject();
newCreature = Instantiate(monsterGrimorium.GetPrefab("Orc"));
Vector3 scale = newCreature.transform.localScale;
scale.Set(0.150f, 0.150f, 1.0f);
newCreature.transform.localScale = scale;
Why is this not working? I tried as many variations as I could think, including modifying the x and y values directly.
Thanks a lot!