public override void onAddedToEntity() { _rigidbody = entity.getComponent <SimpleRigidComponent>(); }
public override void onAddedToEntity() { _rigidbody = entity.getOrCreateComponent <SimpleRigidComponent>(); _rigidbody.HasGravity = false; }