Skip to content

Commit 4cea421

Browse files
committed
up
1 parent 52c1f30 commit 4cea421

Some content is hidden

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

50 files changed

+320
-93
lines changed

Assets/Plugins/kbengine/kbengine_unity3d_plugins/AccountBase.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/AvatarBase.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/Bundle.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/CustomDataTypes.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/DataTypes.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/Dbg.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/Entity.cs

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

334334
public virtual void onDirectionChanged(Vector3 oldValue)
335335
{
336-
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
337-
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
338-
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);
339-
340336
//Dbg.DEBUG_MSG(className + "::set_direction: " + oldValue + " => " + v);
341337

342338
if(inWorld)
339+
{
340+
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
341+
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
342+
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);
343343
Event.fireOut("set_direction", new object[]{this});
344+
}
345+
else
346+
{
347+
direction = oldValue;
348+
}
344349
}
345350

346351
/// <summary>

Assets/Plugins/kbengine/kbengine_unity3d_plugins/Entity.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/EntityCall.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/Plugins/kbengine/kbengine_unity3d_plugins/EntityCallAccountBase.cs.meta

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)