From 4d0c8f074f88a750222215d59426536060607261 Mon Sep 17 00:00:00 2001 From: PopSlime Date: Sat, 29 Oct 2022 00:42:17 +0800 Subject: [PATCH] Remove "visible" motion. --- Assets/Cryville/Crtr/Event/ContainerState.cs | 7 ------- Assets/Cryville/Crtr/Game.cs | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Assets/Cryville/Crtr/Event/ContainerState.cs b/Assets/Cryville/Crtr/Event/ContainerState.cs index f42bb38..f077bc4 100644 --- a/Assets/Cryville/Crtr/Event/ContainerState.cs +++ b/Assets/Cryville/Crtr/Event/ContainerState.cs @@ -262,13 +262,6 @@ namespace Cryville.Crtr.Event { } } - static readonly MotionName n_visible = new MotionName("visible"); - public bool Visible { - get { - return GetRawValue(n_visible).Value % 2 >= 1; - } - } - static readonly MotionName n_sv = new MotionName("sv"); static readonly MotionName n_svm = new MotionName("svm"); public float ScrollVelocity { diff --git a/Assets/Cryville/Crtr/Game.cs b/Assets/Cryville/Crtr/Game.cs index a16dbe1..2d995e4 100644 --- a/Assets/Cryville/Crtr/Game.cs +++ b/Assets/Cryville/Crtr/Game.cs @@ -90,7 +90,7 @@ namespace Cryville.Crtr { { "normal" , new MotionRegistry(typeof(Vec3)) }, // { "pdirz", new MotionRegistry(typeof(Vec1)) }, { "pt" , new MotionRegistry(typeof(VecPt)) }, - { "visible", new MotionRegistry(typeof(VecI1)) }, + // { "visible", new MotionRegistry(typeof(VecI1)) }, { "sv" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, 1f)) }, { "svm" , new MotionRegistry(new Vec1m(1f)) }, { "dist" , new MotionRegistry(new VecPtComp(0f, 0f), new VecPtComp(0f, float.PositiveInfinity)) },