mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交编辑器确定数据
This commit is contained in:
@@ -16,10 +16,16 @@ MonoBehaviour:
|
||||
RequiredTags: []
|
||||
ImmunityTags: []
|
||||
start:
|
||||
X: 0
|
||||
Y: 0
|
||||
Z: 0
|
||||
x:
|
||||
rawValue: 0
|
||||
y:
|
||||
rawValue: 0
|
||||
z:
|
||||
rawValue: 0
|
||||
end:
|
||||
X: 10000
|
||||
Y: 0
|
||||
Z: 0
|
||||
x:
|
||||
rawValue: 10000000
|
||||
y:
|
||||
rawValue: 0
|
||||
z:
|
||||
rawValue: 0
|
||||
|
@@ -0,0 +1,24 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c712e05924784c5593896e5c7c1d2708, type: 3}
|
||||
m_Name: MMC_AttributeBasedModCalculation
|
||||
m_EditorClassIdentifier:
|
||||
Description:
|
||||
captureType: 0
|
||||
attributeFromType: 0
|
||||
attributeName: AS_BaseAttribute.HP
|
||||
attributeSetName: AS_BaseAttribute
|
||||
attributeShortName: HP
|
||||
k:
|
||||
rawValue: 1580000
|
||||
b:
|
||||
rawValue: 0
|
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71b523e86dd62c942b51606055e200bc
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@@ -1,9 +1,6 @@
|
||||
using GAS.General;
|
||||
using GAS.Runtime;
|
||||
using GASSamples.Scripts;
|
||||
using GAS.Runtime;
|
||||
using GASSamples.Scripts.Game.GAS;
|
||||
using JNGame.Math;
|
||||
using JNGame.Runtime.Odin.TypeCustomize;
|
||||
using Sirenix.OdinInspector;
|
||||
using UnityEngine;
|
||||
|
||||
@@ -14,10 +11,10 @@ namespace Demo.Scripts.GAS.GameplayCue
|
||||
|
||||
[BoxGroup]
|
||||
[LabelText("开始位置")]
|
||||
public OdinLVector3 start;
|
||||
public LVector3 start;
|
||||
[BoxGroup]
|
||||
[LabelText("结束位置")]
|
||||
public OdinLVector3 end;
|
||||
public LVector3 end;
|
||||
|
||||
public override GameplayCueDurationalSpec CreateSpec(GameplayCueParameters parameters)
|
||||
{
|
||||
@@ -70,7 +67,7 @@ namespace Demo.Scripts.GAS.GameplayCue
|
||||
{
|
||||
|
||||
Debug.Log($"GameplayCueDurational_PlayerDemo01_Spec OnTick {frame}");
|
||||
((GAbilitySystemComponent)Owner).Entity.Transform.Position = LVector3.Lerp(cue.start.ToLVector3(), cue.end.ToLVector3(), (LFloat)(frame - startFrame) / endFrame);
|
||||
((GAbilitySystemComponent)Owner).Entity.Transform.Position = LVector3.Lerp(cue.start, cue.end, (LFloat)(frame - startFrame) / endFrame);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user