BITFALL/Assets/Artists/Scripts/HotFix/PlayerDefaultInjector.cs

21 lines
493 B
C#

using System.Collections;
using System.Collections.Generic;
using BITKit;
using BITKit.Animations;
using BITKit.Entities;
using BITKit.IO;
using UnityEngine;
namespace BITFALL.HotFix
{
public class PlayerDefaultInjector:EntityBehavior
{
public override void Initialize(IEntity _entity)
{
base.Initialize(_entity);
UnityEntity.AddService<IApplicationFile>(new ApplicationFile());
UnityEntity.AddService<IMotionMatchingService>(new ScriptableMotionMatchingSingleton());
}
}
}