Skip to content

Commit

Permalink
initial creation of classes for some demo tools
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Dec 2, 2023
1 parent 2f3e47f commit 1ec7776
Show file tree
Hide file tree
Showing 34 changed files with 173 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using DotRecast.Recast.Toolset.Builder;
using Plugins.UniRecast.Extensions;
using UniRecast.Runtime.Toolsets;
using UnityEditor;

namespace UniRecast.Editor
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;
using UnityEngine;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcCrowdAgentProfilingTool))]
public class UniRcCrowdAgentProfilingToolEditor : UniRcToolEditor
{
}
}

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
@@ -0,0 +1,11 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;
using UnityEngine;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcDynamicUpdateTool))]
public class UniRcDynamicUpdateToolEditor : UniRcToolEditor
{
}
}

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
@@ -0,0 +1,11 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcJumpLinkBuilderTool))]
public class UniRcJumpLinkBuilderToolEditor : UniRcToolEditor
{

}
}

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
@@ -0,0 +1,11 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcObstacleTool))]
public class UniRcObstacleToolEditor : UniRcToolEditor
{

}
}

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
@@ -0,0 +1,10 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcOffMeshConnectionTool))]
public class UniRcOffMeshConnectionToolEditor : UniRcToolEditor
{
}
}

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 @@ -4,6 +4,7 @@
using DotRecast.Recast.Toolset.Builder;
using DotRecast.Recast.Toolset.Tools;
using Plugins.UniRecast.Extensions;
using UniRecast.Runtime.Toolsets;
using UnityEditor;
using UnityEngine;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using UniRecast.Runtime.Toolsets;
using UnityEditor;

namespace UniRecast.Editor
{
[CustomEditor(typeof(UniRcTileTool))]
public class UniRcTileToolEditor : UniRcToolEditor
{
}
}

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
@@ -1,4 +1,5 @@
using UnityEditor;
using UniRecast.Runtime.Toolsets;
using UnityEditor;
using UnityEngine;

namespace UniRecast.Editor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using DotRecast.Recast.Toolset.Builder;
using UnityEngine;

namespace UniRecast
namespace UniRecast.Runtime.Toolsets
{
public class UniRcConvexVolumeTool : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcCrowdAgentProfilingTool : MonoBehaviour
{
}
}

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
@@ -0,0 +1,8 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcCrowdTool : MonoBehaviour
{
}
}

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
@@ -0,0 +1,8 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcDynamicUpdateTool : MonoBehaviour
{
}
}

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
@@ -0,0 +1,9 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcJumpLinkBuilderTool : MonoBehaviour
{

}
}

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
@@ -0,0 +1,9 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcObstacleTool : MonoBehaviour
{

}
}

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
@@ -0,0 +1,8 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcOffMeshConnectionTool : MonoBehaviour
{
}
}

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 @@ -2,7 +2,7 @@
using DotRecast.Recast.Toolset.Tools;
using UnityEngine;

namespace UniRecast
namespace UniRecast.Runtime.Toolsets
{
public class UniRcTestNavMeshTool : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using UnityEngine;

namespace UniRecast.Runtime.Toolsets
{
public class UniRcTileTool : MonoBehaviour
{
}
}

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
@@ -1,6 +1,6 @@
using UnityEngine;

namespace UniRecast
namespace UniRecast.Runtime.Toolsets
{
public class UniRcToolset : MonoBehaviour
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 963194225}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 1, z: -10}
m_LocalRotation: {x: -0.47579125, y: 0.051923007, z: -0.02814971, w: -0.87757295}
m_LocalPosition: {x: -11.847405, y: 56.570045, z: -46.47455}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
Expand Down Expand Up @@ -472,7 +472,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1366844031}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.29694974, y: -41.08409, z: 36.32854}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
Expand Down Expand Up @@ -520,7 +520,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1736068886}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0.29694974, y: -41.08409, z: 36.32854}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
Expand Down Expand Up @@ -568,7 +568,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1922218970}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.29694974, y: 41.08409, z: -36.32854}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
Expand Down
Binary file modified src/UniRecast.Unity/SampleScene.bytes
Binary file not shown.

0 comments on commit 1ec7776

Please sign in to comment.