MotionDebugger
実行中のTweenの追跡と作成時スタックの記録を切り替えます。Itemsから追跡データを参照できます。
public static class MotionDebuggerMotionDebugger.cs · L12メンバー
Enabled
新しく登録するTweenを追跡するか指定します。
public static bool Enabled;EnableStackTrace
追跡時に作成スタックを記録するか指定します。
public static bool EnableStackTrace;Items
現在追跡している項目を読み取り専用リストで取得します。
public static IReadOnlyList<TrackingState> Items { get; }AddTracking
有効なハンドルを指定して追跡に追加します。追跡済みなら二重に追加しません。
public static void AddTracking(MotionHandle motionHandle, IMotionScheduler scheduler, int skipFrames = 3)引数
motionHandleMotionHandle操作・関連付けの対象となるハンドル。schedulerIMotionScheduler更新の時刻・登録先を決めるスケジューラ。skipFrames = 3intスタック記録時に読み飛ばす先頭のフレーム数。
Clear
追跡記録を消去します。Tweenの停止操作はハンドルから行います。
public static void Clear()
MeatMotion