public void ReparentFlipper(FlipperComponent flipper, GameObject go, ref GameObject parent) { PatcherUtil.Reparent(go, parent); PatcherUtil.Hide(go.GetComponentInChildren <FlipperRubberMeshComponent>().gameObject); flipper.Position.x = 0; flipper.Position.y = 0; flipper._startAngle = 0; }
public void HideGameObject(GameObject gameObject) { PatcherUtil.Hide(gameObject); }