333
This commit is contained in:
parent
f9129738b1
commit
336ed418dd
Binary file not shown.
|
|
@ -149768,6 +149768,79 @@ MeshRenderer:
|
||||||
m_SortingLayer: 0
|
m_SortingLayer: 0
|
||||||
m_SortingOrder: 0
|
m_SortingOrder: 0
|
||||||
m_AdditionalVertexStreams: {fileID: 0}
|
m_AdditionalVertexStreams: {fileID: 0}
|
||||||
|
--- !u!1001 &789817517
|
||||||
|
PrefabInstance:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Modification:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TransformParent: {fileID: 0}
|
||||||
|
m_Modifications:
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalPosition.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.w
|
||||||
|
value: 1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalRotation.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.x
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.y
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: -8679921383154817045, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_LocalEulerAnglesHint.z
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_Name
|
||||||
|
value: ShanDongMap-AT
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
- target: {fileID: 919132149155446097, guid: c322347789ca0e84599e9bb0484de1de,
|
||||||
|
type: 3}
|
||||||
|
propertyPath: m_IsActive
|
||||||
|
value: 0
|
||||||
|
objectReference: {fileID: 0}
|
||||||
|
m_RemovedComponents: []
|
||||||
|
m_RemovedGameObjects: []
|
||||||
|
m_AddedGameObjects: []
|
||||||
|
m_AddedComponents: []
|
||||||
|
m_SourcePrefab: {fileID: 100100000, guid: c322347789ca0e84599e9bb0484de1de, type: 3}
|
||||||
--- !u!1 &789863382
|
--- !u!1 &789863382
|
||||||
GameObject:
|
GameObject:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
@ -302721,7 +302794,7 @@ MonoBehaviour:
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
head: Basicc2FiZXI6c2FiZXJfc2VjcmV0
|
head: Basicc2FiZXI6c2FiZXJfc2VjcmV0
|
||||||
token: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiI3OTEyMTQiLCJ1c2VyX25hbWUiOiJhZG1pbiIsInJlYWxfbmFtZSI6ImFkbWluIiwiYXZhdGFyIjoiIiwiYXV0aG9yaXRpZXMiOlsiYWRtaW4iXSwiY2xpZW50X2lkIjoic2FiZXIiLCJyb2xlX25hbWUiOiJhZG1pbiIsImxpY2Vuc2UiOiJwb3dlcmVkIGJ5IGJheW1heCIsInBvc3RfaWQiOiIxNzgwNDc5NzgwMTM5ODMxMjk3IiwidXNlcl9pZCI6IjE3ODA0Nzk3ODA2ODkyODUxMjIiLCJyb2xlX2lkIjoiMTc4MDQ3OTc3MjU5ODQ3MjcwNSIsInNjb3BlIjpbImFsbCJdLCJuaWNrX25hbWUiOiJhZG1pbiIsIm9hdXRoX2lkIjoiIiwiZGV0YWlsIjp7InR5cGUiOiJ3ZWIifSwiZXhwIjoxNzE5MzMzMjI2LCJkZXB0X2lkIjoiMTc4MDQ3OTc4MDAyNjU4NTA5MCIsImp0aSI6IjA5MzllN2UwLTM0MmQtNDIyYy1hOTE3LWJmMzRhZDVhZGFlMSIsImFjY291bnQiOiJhZG1pbiJ9.qV_RPA2tZKzqzHYhZks2CqbHPw1KTGyiOA7_LYkoJ1s
|
token: bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZW5hbnRfaWQiOiI3OTEyMTQiLCJ1c2VyX25hbWUiOiJhZG1pbiIsInJlYWxfbmFtZSI6ImFkbWluIiwiYXZhdGFyIjoiIiwiYXV0aG9yaXRpZXMiOlsiYWRtaW4iXSwiY2xpZW50X2lkIjoic2FiZXIiLCJyb2xlX25hbWUiOiJhZG1pbiIsImxpY2Vuc2UiOiJwb3dlcmVkIGJ5IGJheW1heCIsInBvc3RfaWQiOiIxNzgwNDc5NzgwMTM5ODMxMjk3IiwidXNlcl9pZCI6IjE3ODA0Nzk3ODA2ODkyODUxMjIiLCJyb2xlX2lkIjoiMTc4MDQ3OTc3MjU5ODQ3MjcwNSIsInNjb3BlIjpbImFsbCJdLCJuaWNrX25hbWUiOiJhZG1pbiIsIm9hdXRoX2lkIjoiIiwiZGV0YWlsIjp7InR5cGUiOiJ3ZWIifSwiZXhwIjoxNzE5Mzc1NzI5LCJkZXB0X2lkIjoiMTc4MDQ3OTc4MDAyNjU4NTA5MCIsImp0aSI6IjY4YmUzODU3LWEwMDItNDFiNi1hZDYzLWI4MjE5ZWMwMDljZCIsImFjY291bnQiOiJhZG1pbiJ9.zJ4tDzH1rWbcvtIrrC5jnyueFfCTydrDk45fvS2blbQ
|
||||||
onStation:
|
onStation:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls: []
|
m_Calls: []
|
||||||
|
|
@ -419757,3 +419830,4 @@ SceneRoots:
|
||||||
- {fileID: 982446487}
|
- {fileID: 982446487}
|
||||||
- {fileID: 66276271572638083}
|
- {fileID: 66276271572638083}
|
||||||
- {fileID: 1422694239}
|
- {fileID: 1422694239}
|
||||||
|
- {fileID: 789817517}
|
||||||
|
|
|
||||||
|
|
@ -116,6 +116,7 @@ public class Bootstrap : MonoSingleton<Bootstrap>
|
||||||
{
|
{
|
||||||
if (hit.collider != null)
|
if (hit.collider != null)
|
||||||
{
|
{
|
||||||
|
Debug.Log("clickCurrentLevel==" + clickCurrentLevel);
|
||||||
if (cameraRt.currentLevelIndex == 1) return;
|
if (cameraRt.currentLevelIndex == 1) return;
|
||||||
clickCurrentLevel--;
|
clickCurrentLevel--;
|
||||||
if (clickCurrentLevel <= 1)
|
if (clickCurrentLevel <= 1)
|
||||||
|
|
@ -126,7 +127,6 @@ public class Bootstrap : MonoSingleton<Bootstrap>
|
||||||
//currentLevel = clickCurrentLevel;
|
//currentLevel = clickCurrentLevel;
|
||||||
SwitchLand(clickCurrentLevel);
|
SwitchLand(clickCurrentLevel);
|
||||||
cameraRt.SetTarget(hit.collider.transform);
|
cameraRt.SetTarget(hit.collider.transform);
|
||||||
Debug.Log("clickCurrentLevel==" + clickCurrentLevel);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hit.collider != null)
|
if (hit.collider != null)
|
||||||
|
|
@ -196,7 +196,6 @@ public class Bootstrap : MonoSingleton<Bootstrap>
|
||||||
public void SwitchLand(int _currentLevel)
|
public void SwitchLand(int _currentLevel)
|
||||||
{
|
{
|
||||||
if (currentLand == null) return;
|
if (currentLand == null) return;
|
||||||
webAdapter.LevelChange(_currentLevel.ToString());
|
|
||||||
landMarkAndInfoCotroller.gameObject.SetActive(false);
|
landMarkAndInfoCotroller.gameObject.SetActive(false);
|
||||||
currentLevel = _currentLevel;
|
currentLevel = _currentLevel;
|
||||||
clickCurrentLevel = _currentLevel;
|
clickCurrentLevel = _currentLevel;
|
||||||
|
|
@ -247,6 +246,7 @@ public class Bootstrap : MonoSingleton<Bootstrap>
|
||||||
Debug.Log("ÇøÏØ");
|
Debug.Log("ÇøÏØ");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
webAdapter.OnLevelChange(_currentLevel);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -245,7 +245,7 @@ public class CameraRT : MonoBehaviour
|
||||||
|
|
||||||
if (currentLevelIndex != lastLevelIndex)
|
if (currentLevelIndex != lastLevelIndex)
|
||||||
{
|
{
|
||||||
//Debug.Log($"currentLevelIndex=={currentLevelIndex}");
|
Debug.Log($"UnityLog=currentLevelIndex=={currentLevelIndex}");
|
||||||
OnLimitScroll?.Invoke(currentLevelIndex);
|
OnLimitScroll?.Invoke(currentLevelIndex);
|
||||||
lastLevelIndex = currentLevelIndex;
|
lastLevelIndex = currentLevelIndex;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,31 +10,35 @@ public class WebAdapter : MonoBehaviour
|
||||||
public string head;
|
public string head;
|
||||||
public string token;
|
public string token;
|
||||||
[DllImport("__Internal")]
|
[DllImport("__Internal")]
|
||||||
private static extern void OnLevelChange(string level);
|
private static extern void LevelChange(int _level);
|
||||||
#else
|
#else
|
||||||
public string head;
|
public string head;
|
||||||
public string token;
|
public string token;
|
||||||
private static void OnLevelChange(string level)
|
private static void LevelChange(int _level)
|
||||||
{
|
{
|
||||||
Debug.Log(level);
|
//Debug.Log(level);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
public UnityEvent<string> onStation;
|
public UnityEvent<string> onStation;
|
||||||
public void LevelChange(string level)
|
public void OnLevelChange(int _level)
|
||||||
{
|
{
|
||||||
OnLevelChange(level);
|
//LevelChange(_level);
|
||||||
|
//Debug.Log("UnityLog==level==" + _level);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void OnStation(string station)
|
public void OnStation(string station)
|
||||||
{
|
{
|
||||||
onStation?.Invoke(station);
|
onStation?.Invoke(station);
|
||||||
|
Debug.Log("UnityLog==station==" + station);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetHeadAndToken(string _headAndToken)
|
public void SetHeadAndToken(string _headAndToken)
|
||||||
{
|
{
|
||||||
string[] data = _headAndToken.Split("+");
|
string[] data = _headAndToken.Split("+");
|
||||||
head = data[0].Replace(" ", "");
|
head = data[0];
|
||||||
token = data[1].Replace(" ", "");
|
token = data[1];
|
||||||
|
Debug.Log("UnityLog==head==" + head);
|
||||||
|
Debug.Log("UnityLog==token==" + token);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
mergeInto(LibraryManager.library, {
|
mergeInto(LibraryManager.library, {
|
||||||
OnLevelChange: function (level) {
|
LevelChange: function(level){
|
||||||
_OnLevelChange(Pointer_stringify(level))
|
OnLevelChange(level);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: ff73f99e1c44b6343b9263813d2918fb
|
guid: ae6e8e62919c37440ac1dcf99066b1e3
|
||||||
PluginImporter:
|
PluginImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue