Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2022-11-12 13:10:03 +01:00

32 lines
783 B
C#

using UnityEngine;
using UnityEngine.Events;
using UnityEngine.Scripting.APIUpdating;
#if UNITY_EDITOR
namespace UnityEditor.U2D.IK
{
[DefaultExecutionOrder(-2)]
[ExecuteInEditMode]
[AddComponentMenu("")]
[MovedFrom("UnityEditor.Experimental.U2D.IK")]
internal class IKEditorManagerHelper : MonoBehaviour
{
public UnityEvent onLateUpdate = new UnityEvent();
void Start()
{
if(hideFlags != HideFlags.HideAndDontSave)
Debug.LogWarning("This is an internal IK Component. Please remove it from your GameObject", this.gameObject);
}
void LateUpdate()
{
if (Application.isPlaying)
return;
onLateUpdate.Invoke();
}
}
}
#endif