internal void EntityAttached(BoltEntity entity) { if (entity.PrefabId == BoltPrefabs.Movement) { entity.SetScopeAll(false); Player player = FindPlayer(entity.Source); if (player == null) { Object.Destroy(entity.gameObject); } else { player.MovementInfo.AttachMoveState(entity); } } }