add anim2
This commit is contained in:
@@ -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
|
||||
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ea41eb7cdaa803b4a9893d4a696e8b05
|
||||
timeCreated: 1509509222
|
||||
licenseType: Pro
|
||||
guid: 250d54790aa48c041a184eb19432460c
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1717
Assets/Resources/Prefabs/Player/Anim2/CC_Face_Animator2.controller
Normal file
1717
Assets/Resources/Prefabs/Player/Anim2/CC_Face_Animator2.controller
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb6c9d2deeef3ee48a4e0add20238525
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 9100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
60879
Assets/Resources/Prefabs/Player/Anim2/Cast one hand.anim
Normal file
60879
Assets/Resources/Prefabs/Player/Anim2/Cast one hand.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75b62082edb115344a6b8e7ebf70e061
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
87975
Assets/Resources/Prefabs/Player/Anim2/Casting Prepare.anim
Normal file
87975
Assets/Resources/Prefabs/Player/Anim2/Casting Prepare.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cebfa096ce1e8b2408755861f0d22741
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
12749
Assets/Resources/Prefabs/Player/Anim2/Fishing-fwd.anim
Normal file
12749
Assets/Resources/Prefabs/Player/Anim2/Fishing-fwd.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f1abe10282e709844a862d5a229f6c63
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
65459
Assets/Resources/Prefabs/Player/Anim2/Held Fishing Rod Unnarmed.anim
Normal file
65459
Assets/Resources/Prefabs/Player/Anim2/Held Fishing Rod Unnarmed.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3d91d03168def214d90409f1e83ab6c6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
57980
Assets/Resources/Prefabs/Player/Anim2/Precise Cast idle.anim
Normal file
57980
Assets/Resources/Prefabs/Player/Anim2/Precise Cast idle.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00da029521b8d2541bb4f6a7565e64b7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
66521
Assets/Resources/Prefabs/Player/Anim2/Precise Cast.anim
Normal file
66521
Assets/Resources/Prefabs/Player/Anim2/Precise Cast.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b89e41b1061e946418c647560a27f3e9
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
142220
Assets/Resources/Prefabs/Player/Anim2/Rod Idle.anim
Normal file
142220
Assets/Resources/Prefabs/Player/Anim2/Rod Idle.anim
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/Resources/Prefabs/Player/Anim2/Rod Idle.anim.meta
Normal file
8
Assets/Resources/Prefabs/Player/Anim2/Rod Idle.anim.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f51c8ccb6a3d44b44bd23192dc1cc7b4
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
12182
Assets/Resources/Prefabs/Player/Anim2/fishing-pulling.anim
Normal file
12182
Assets/Resources/Prefabs/Player/Anim2/fishing-pulling.anim
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c918056d425be044b4ee6c810e3c5ac
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user