Hello,
Please someone knows how to change the BoxCollider 2D X,Yoffset in the script, because in my game when i jump i need to change the position of the colldier.
Thanks.
Hello,
Please someone knows how to change the BoxCollider 2D X,Yoffset in the script, because in my game when i jump i need to change the position of the colldier.
Thanks.
gameObject.GetComponent().offset = new Vector2(newX, newY);