コード例 #1
0
ファイル: IceCube.cs プロジェクト: AntonC9018/hopper.cs
 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
 }
コード例 #2
0
ファイル: IceCube.cs プロジェクト: AntonC9018/hopper.cs
 public static void DisplaceCaptured(IceCubeComponent iceCubeComponent, Transform transform)
 {
     iceCubeComponent.captured.GetTransform().position = transform.position;
 }