Before 优化 机场
This commit is contained in:
23
Assets/BITKit/UnityPluginsSupport/FPS/ScriptableSprint3.cs
Normal file
23
Assets/BITKit/UnityPluginsSupport/FPS/ScriptableSprint3.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using BITKit.FPS;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Net.Project.B.FPS
|
||||
{
|
||||
public class ScriptableSprint3 : ScriptableObject,ISprint3
|
||||
{
|
||||
[SerializeField] private Spring3 spring3;
|
||||
|
||||
public Vector3 Value
|
||||
{
|
||||
get => spring3.Value;
|
||||
set => spring3.Value = value;
|
||||
}
|
||||
public void Tick(float deltaTime, Vector3 target)
|
||||
{
|
||||
spring3.Tick(deltaTime, target);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user