mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 09:28:07 +08:00
Upgrade to Unity 6 LTS
This commit is contained in:
1 parent
5a63a2b27a
commit
2bb0d5e2f3
4 files changed
+12
-7
No files matched your search
+8
-3
@@ -18,7 +18,8 @@ namespace Pal3.Game.GameSystems.Combat.Actor.Controllers
|
||||
|
||||
public sealed class CombatActorController : GameEntityScript
|
||||
{
|
||||
private const string COMBAT_ANIMATION_ATTACK_EVENT_NAME_PREFIX = "work";
|
||||
private const string COMBAT_ANIMATION_NORMAL_ATTACK_EVENT_NAME_PREFIX = "work";
|
||||
private const string COMBAT_ANIMATION_JUMP_ATTACK_EVENT_NAME_PREFIX = "flydown";
|
||||
|
||||
private CombatActor _actor;
|
||||
private ActorActionController _actionController;
|
||||
@@ -47,9 +48,13 @@ namespace Pal3.Game.GameSystems.Combat.Actor.Controllers
|
||||
|
||||
private void AnimationEventTriggered(object sender, string eventName)
|
||||
{
|
||||
if (eventName.StartsWith(COMBAT_ANIMATION_ATTACK_EVENT_NAME_PREFIX, StringComparison.Ordinal))
|
||||
if (eventName.StartsWith(COMBAT_ANIMATION_NORMAL_ATTACK_EVENT_NAME_PREFIX, StringComparison.Ordinal))
|
||||
{
|
||||
// TODO: Impl attack behavior
|
||||
// TODO: Impl normal attack behavior
|
||||
}
|
||||
else if (eventName.StartsWith(COMBAT_ANIMATION_JUMP_ATTACK_EVENT_NAME_PREFIX, StringComparison.Ordinal))
|
||||
{
|
||||
// TODO: Impl jump attack behavior
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"com.unity.feature.development": "1.0.2",
|
||||
"com.unity.ide.rider": "3.0.31",
|
||||
"com.unity.ide.visualstudio": "2.0.22",
|
||||
"com.unity.inputsystem": "1.10.0",
|
||||
"com.unity.inputsystem": "1.11.1",
|
||||
"com.unity.memoryprofiler": "1.1.1",
|
||||
"com.unity.mobile.android-logcat": "1.4.3",
|
||||
"com.unity.postprocessing": "3.4.0",
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.inputsystem": {
|
||||
"version": "1.10.0",
|
||||
"version": "1.11.1",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
m_EditorVersion: 6000.0.20f1
|
||||
m_EditorVersionWithRevision: 6000.0.20f1 (05208a74e9aa)
|
||||
m_EditorVersion: 6000.0.23f1
|
||||
m_EditorVersionWithRevision: 6000.0.23f1 (1c4764c07fb4)
|
||||
Reference in new issue
Block a user