Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kebiao committed Jun 27, 2018
1 parent 52c1f30 commit 4cea421
Show file tree
Hide file tree
Showing 50 changed files with 320 additions and 93 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Assets/Plugins/kbengine/kbengine_unity3d_plugins/Dbg.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 9 additions & 4 deletions Assets/Plugins/kbengine/kbengine_unity3d_plugins/Entity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -333,14 +333,19 @@ public virtual void onUpdateVolatileData()

public virtual void onDirectionChanged(Vector3 oldValue)
{
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);

//Dbg.DEBUG_MSG(className + "::set_direction: " + oldValue + " => " + v);

if(inWorld)
{
direction.x = direction.x * 360 / ((float)System.Math.PI * 2);
direction.y = direction.y * 360 / ((float)System.Math.PI * 2);
direction.z = direction.z * 360 / ((float)System.Math.PI * 2);
Event.fireOut("set_direction", new object[]{this});
}
else
{
direction = oldValue;
}
}

/// <summary>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class KBEMain : MonoBehaviour

// 在unity3d界面中可见选项
public DEBUGLEVEL debugLevel = DEBUGLEVEL.DEBUG;
public bool isMultiThreads = true;
public bool isMultiThreads = false;
public string ip = "127.0.0.1";
public int port = 20013;
public KBEngineApp.CLIENT_TYPE clientType = KBEngineApp.CLIENT_TYPE.CLIENT_TYPE_MINI;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4cea421

Please sign in to comment.