add anim2

This commit is contained in:
2025-11-10 23:59:05 +08:00
parent 76f80db694
commit 407cd6c2f0
23 changed files with 507810 additions and 67 deletions

View File

@@ -1,9 +0,0 @@
[DEFAULT]
BASEURL=http://www.cgsoso.com/
[InternetShortcut]
URL=http://www.cgsoso.com/
IDList=
IconFile=http://www.cgsoso.com/favicon.ico
IconIndex=1
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,2

View File

@@ -1,8 +1,8 @@
fileFormatVersion: 2
guid: ea41eb7cdaa803b4a9893d4a696e8b05
timeCreated: 1509509222
licenseType: Pro
guid: 250d54790aa48c041a184eb19432460c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: bb6c9d2deeef3ee48a4e0add20238525
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 75b62082edb115344a6b8e7ebf70e061
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: cebfa096ce1e8b2408755861f0d22741
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f1abe10282e709844a862d5a229f6c63
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 3d91d03168def214d90409f1e83ab6c6
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 00da029521b8d2541bb4f6a7565e64b7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b89e41b1061e946418c647560a27f3e9
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f51c8ccb6a3d44b44bd23192dc1cc7b4
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 0c918056d425be044b4ee6c810e3c5ac
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -38,7 +38,7 @@ namespace NBF.Fishing2
public MapUnit CreateMapUnit(MapUnitInfo unitInfo)
{
var mapUnit = Entity.Create<MapUnit>(Scene, unitInfo.Id, true, true);
var mapUnit = Create<MapUnit>(Scene, unitInfo.Id, true, true);
mapUnit.SetUnitInfo(unitInfo);
Add(mapUnit);
return mapUnit;

View File

@@ -70,8 +70,14 @@ namespace NBF
Game.SelfId = loginResponse.RoleId;
var mapId = role.Info.MapId;
if (mapId == 0)
{
Log.Warning("账号没有进入过地图,进入新手引导地图");
mapId = 99;
}
await MapHelper.EnterMap(mapId, role.RoomCode);
}
}
}

View File

@@ -16,54 +16,54 @@ namespace NBF
{
this.AutoAddClick(OnClick);
Game.Input.OnPlayerPerformed += OnPlayerCanceled;
Game.Input.OnPlayerPerformed += OnPlayerPerformed;
Game.Input.OnPlayerValueCanceled += OnPlayerValueCanceled;
Game.Input.OnPlayerValuePerformed += OnPlayerValuePerformed;
// Game.Input.OnPlayerPerformed += OnPlayerCanceled;
// Game.Input.OnPlayerPerformed += OnPlayerPerformed;
//
// Game.Input.OnPlayerValueCanceled += OnPlayerValueCanceled;
// Game.Input.OnPlayerValuePerformed += OnPlayerValuePerformed;
}
private bool _isRun;
// private bool _isRun;
//
// private void OnPlayerPerformed(string action)
// {
// if (action == "Run")
// {
// _isRun = true;
// }
//
// Log.Info($"OnPlayerPerformed action = {action}");
// }
private void OnPlayerPerformed(string action)
{
if (action == "Run")
{
_isRun = true;
}
// private void OnPlayerCanceled(string action)
// {
// if (action == "Run")
// {
// _isRun = false;
// }
//
// Log.Info($"OnPlayerCanceled action = {action}");
// }
Log.Info($"OnPlayerPerformed action = {action}");
}
// private void OnPlayerValueCanceled(InputAction.CallbackContext context)
// {
// var name = context.action.name;
// if (name == "Move")
// {
// var v2 = context.ReadValue<Vector2>();
// Log.Info($"OnPlayerValueCanceled name={name} v2={v2}");
// }
// }
private void OnPlayerCanceled(string action)
{
if (action == "Run")
{
_isRun = false;
}
Log.Info($"OnPlayerCanceled action = {action}");
}
private void OnPlayerValueCanceled(InputAction.CallbackContext context)
{
var name = context.action.name;
if (name == "Move")
{
var v2 = context.ReadValue<Vector2>();
Log.Info($"OnPlayerValueCanceled name={name} v2={v2}");
}
}
private void OnPlayerValuePerformed(InputAction.CallbackContext context)
{
var name = context.action.name;
if (name == "Move")
{
var v2 = context.ReadValue<Vector2>();
Log.Info($"OnPlayerValuePerformed name={name} v2={v2}");
}
}
// private void OnPlayerValuePerformed(InputAction.CallbackContext context)
// {
// var name = context.action.name;
// if (name == "Move")
// {
// var v2 = context.ReadValue<Vector2>();
// Log.Info($"OnPlayerValuePerformed name={name} v2={v2}");
// }
// }
private void OnClick(GComponent btn)
{
@@ -77,17 +77,9 @@ namespace NBF
{
await LoginHelper.Login(InputAccount.text);
BagPanel.Show();
// BagPanel.Show();
// FishingShopPanel.Show();
// var mapId = role.Info.MapId;
// if (mapId == 0)
// {
// Log.Warning("账号没有进入过地图,进入新手引导地图");
// mapId = 99;
// }
// await MapHelper.EnterMap(mapId, role.RoomCode);
// await MapHelper.EnterMap(99);
Del();
}
}