Update Project

This commit is contained in:
2026-03-20 13:04:43 +02:00
parent 9b587e6cba
commit beae2dea89
2295 changed files with 251259 additions and 33 deletions
@@ -0,0 +1,28 @@
using System.Collections.Generic;
using UnityEngine;
namespace Zenject
{
public class AnimatorIkHandlerManager : MonoBehaviour
{
List<IAnimatorIkHandler> _handlers;
[Inject]
public void Construct(
// Use local to avoid inheriting handlers from a parent context
[Inject(Source = InjectSources.Local)]
List<IAnimatorIkHandler> handlers)
{
_handlers = handlers;
}
public void OnAnimatorIk()
{
foreach (var handler in _handlers)
{
handler.OnAnimatorIk();
}
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 34ee2459debfb734d968c54ced01b9af
timeCreated: 1487820668
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,21 @@
using UnityEngine;
namespace Zenject
{
public class AnimatorInstaller : Installer<Animator, AnimatorInstaller>
{
readonly Animator _animator;
public AnimatorInstaller(Animator animator)
{
_animator = animator;
}
public override void InstallBindings()
{
Container.Bind<AnimatorIkHandlerManager>().FromNewComponentOn(_animator.gameObject);
Container.Bind<AnimatorIkHandlerManager>().FromNewComponentOn(_animator.gameObject);
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: f4cbf7c6883911843ae4a64582422dda
timeCreated: 1487820669
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,28 @@
using System.Collections.Generic;
using UnityEngine;
namespace Zenject
{
public class AnimatorMoveHandlerManager : MonoBehaviour
{
List<IAnimatorMoveHandler> _handlers;
[Inject]
public void Construct(
// Use local to avoid inheriting handlers from a parent context
[Inject(Source = InjectSources.Local)]
List<IAnimatorMoveHandler> handlers)
{
_handlers = handlers;
}
public void OnAnimatorMove()
{
foreach (var handler in _handlers)
{
handler.OnAnimatorMove();
}
}
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: a07f8d298d010b34ca694d0d124b66d2
timeCreated: 1487820669
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
namespace Zenject
{
public interface IAnimatorIkHandler
{
void OnAnimatorIk();
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 510bfbdebf6be804b92145cf677898b9
timeCreated: 1487820668
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,8 @@
namespace Zenject
{
public interface IAnimatorMoveHandler
{
void OnAnimatorMove();
}
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 8e42d79e9a3ccae46b54d9b173778a17
timeCreated: 1487820669
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: