Added FinalIK

This commit is contained in:
2026-08-12 16:46:38 +03:00
parent 487e0d72ff
commit 1dc80339d4
1124 changed files with 768831 additions and 139 deletions
@@ -0,0 +1,29 @@
using UnityEngine;
using System.Collections;
namespace RootMotion {
/// <summary>
/// Manages warning messages.
/// </summary>
public static class Warning {
public static bool logged;
public delegate void Logger(string message);
public static void Log(string message, Logger logger, bool logInEditMode = false) {
if (!logInEditMode && !Application.isPlaying) return;
if (logged) return;
if (logger != null) logger(message);
logged = true;
}
public static void Log(string message, Transform context, bool logInEditMode = false) {
if (!logInEditMode && !Application.isPlaying) return;
if (logged) return;
Debug.LogWarning(message, context);
logged = true;
}
}
}