Skip to content

Commit d376035

Browse files
committed
up
1 parent 4615e60 commit d376035

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1946
-801
lines changed

Assets/Plugins/kbengine_unity3d_plugins/AvatarBase.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/Bundle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void fini(bool issend)
9393
_curMsgStreamIndex = 0;
9494
}
9595

96-
public void send(NetworkInterface networkInterface)
96+
public void send(NetworkInterfaceBase networkInterface)
9797
{
9898
fini(true);
9999

Assets/Plugins/kbengine_unity3d_plugins/Bundle.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/CustomDataTypes.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/DataTypes.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/Dbg.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/Entity.cs

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,14 +335,19 @@ public virtual void onUpdateVolatileData()
335335

336336
public virtual void onDirectionChanged(Vector3 oldValue)
337337
{
338-
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
339-
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
340-
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);
341-
342338
//Dbg.DEBUG_MSG(className + "::set_direction: " + oldValue + " => " + v);
343339

344340
if(inWorld)
341+
{
342+
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
343+
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
344+
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);
345345
Event.fireOut("set_direction", new object[]{this});
346+
}
347+
else
348+
{
349+
direction = oldValue;
350+
}
346351
}
347352

348353
/// <summary>

Assets/Plugins/kbengine_unity3d_plugins/Entity.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/EntityCall.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

Assets/Plugins/kbengine_unity3d_plugins/EntityCallAccountBase.cs.meta

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)