obj.check0〜3とcolorをスクリプトへ引き渡す処理を追加

このコミットが含まれているのは:
routersys committed 2026-06-28 10:42:12 +09:00
1 親 230e6f010c
コミット 36b3c880fe
2ファイル変更
+14

検索条件に一致するファイルはありません

+8
ファイルの表示
@@ -29,6 +29,14 @@ namespace LuaScript
public double Track2 { get; set; }
public double Track3 { get; set; }
public bool Check0 { get; set; }
public bool Check1 { get; set; }
public bool Check2 { get; set; }
public bool Check3 { get; set; }
public bool HasColor { get; set; }
public double ColorValue { get; set; }
public double Time { get; set; }
public int Frame { get; set; }
public int TotalFrame { get; set; }
+6
ファイルの表示
@@ -313,6 +313,12 @@ namespace LuaScript
_objTable!["track1"] = ctx.Track1;
_objTable!["track2"] = ctx.Track2;
_objTable!["track3"] = ctx.Track3;
_objTable!["check0"] = ctx.Check0;
_objTable!["check1"] = ctx.Check1;
_objTable!["check2"] = ctx.Check2;
_objTable!["check3"] = ctx.Check3;
if (ctx.HasColor)
script.Globals["color"] = ctx.ColorValue;
_objTable!["time"] = ctx.Time;
_objTable!["frame"] = ctx.Frame;
_objTable!["totalframe"] = ctx.TotalFrame;