I have 2 colliders attached to one object and I’m using this code for size change.
void Start()
{
m_Collider = GetComponent();
}
void Update()
{
if (Rotation.negative)
{
m_Collider.size = new Vector2(1F, 0.9F);
}
How can I change both when one is trigger?