fix ShowHide not working in unity