private static void ReleaseOnDeath(IceCubeComponent iceCubeComponent) { // release // remove the status effect iceCubeComponent.captured.GetFreezingEntityModifier() .RemoveLogic(iceCubeComponent.captured); // TODO: apply 1 invulnerable to the captured entity }
public static void DisplaceCaptured(IceCubeComponent iceCubeComponent, Transform transform) { iceCubeComponent.captured.GetTransform().position = transform.position; }