private void setPropertyToBody() { b2Vec2 pos = _body.GetPosition(); pos.x = transform.position.x; pos.y = transform.position.y; _body.SetPosition(pos); _body.SetAllowBevelSlither(allowBevelSlither); _body.SetAllowMovement(allowMovement); _body.SetSleepingAllowed(allowSleep); _body.SetAngularDamping(angularDamping); _body.SetBullet(bullet); _body.SetFixedRotation(fixedRotation); _body.SetInertiaScale(inertiaScale); _body.SetLinearDamping(linearDamping); _body.SetType((uint)type); }