Updated UI to add IDS search
This commit is contained in:
@@ -2160,7 +2160,7 @@ GameObject:
|
|||||||
- component: {fileID: 820480511}
|
- component: {fileID: 820480511}
|
||||||
- component: {fileID: 820480512}
|
- component: {fileID: 820480512}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Toggle_BFS
|
m_Name: Toggle_IDS
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
@@ -2236,7 +2236,7 @@ MonoBehaviour:
|
|||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 246942501}
|
- m_Target: {fileID: 246942501}
|
||||||
m_TargetAssemblyTypeName: nMain, Assembly-CSharp
|
m_TargetAssemblyTypeName: nMain, Assembly-CSharp
|
||||||
m_MethodName: BFSToggle
|
m_MethodName: IDSToggle
|
||||||
m_Mode: 0
|
m_Mode: 0
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
m_ObjectArgument: {fileID: 0}
|
m_ObjectArgument: {fileID: 0}
|
||||||
@@ -4491,7 +4491,7 @@ MonoBehaviour:
|
|||||||
m_OnCullStateChanged:
|
m_OnCullStateChanged:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
m_text: BFS
|
m_text: IDS
|
||||||
m_isRightToLeft: 0
|
m_isRightToLeft: 0
|
||||||
m_fontAsset: {fileID: 11400000, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
|
m_fontAsset: {fileID: 11400000, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
|
||||||
m_sharedMaterial: {fileID: -3238282194751116107, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
|
m_sharedMaterial: {fileID: -3238282194751116107, guid: 6199a8d09f6d80b44afa2ad06a271be7, type: 2}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class nMain : MonoBehaviour
|
|||||||
int heuristic;
|
int heuristic;
|
||||||
int algorithm;
|
int algorithm;
|
||||||
bool astarSelected;
|
bool astarSelected;
|
||||||
bool bfsSelected;
|
bool idsSelected;
|
||||||
bool dfsSelected;
|
bool dfsSelected;
|
||||||
|
|
||||||
|
|
||||||
@@ -199,10 +199,10 @@ public class nMain : MonoBehaviour
|
|||||||
Debug.Log(algorithm);
|
Debug.Log(algorithm);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void BFSToggle(bool tickOn)
|
public void IDSToggle(bool tickOn)
|
||||||
{
|
{
|
||||||
bfsSelected = tickOn;
|
idsSelected = tickOn;
|
||||||
Debug.Log(bfsSelected);
|
Debug.Log(idsSelected);
|
||||||
algorithm = 2;
|
algorithm = 2;
|
||||||
Debug.Log(algorithm);
|
Debug.Log(algorithm);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user