public class Decoration : MonoBehaviour { public Shadow block1Shadow; public void TopLineClick() { block1Shadow.effectDistance.Set(5f, 5f); } } I hung the method on the button, but nothing happens when I press it, the same values remain, why?
How to change effectDistance through code?
