add some extra assets FX and SFX
This commit is contained in:
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/GKC_Triangulator_Utils.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/addMapObjectInformation.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/buildingAndFloorObjectInfoSystem.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/glossaryElement.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapCreator.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapIconType.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapObjectInformation.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -185,6 +185,9 @@ public class mapSystem : MonoBehaviour
|
||||
public bool miniMapWindowSmoothOpening = true;
|
||||
public bool miniMapWindowWithMask;
|
||||
|
||||
public bool checkMinimapWindowActiveStateOnOtherMenusEnabled;
|
||||
|
||||
|
||||
public mapCameraMovement mapCameraMovementType;
|
||||
|
||||
public enum mapCameraMovement
|
||||
@@ -377,6 +380,8 @@ public class mapSystem : MonoBehaviour
|
||||
|
||||
public bool checkElementsOnAwakeEnabled = true;
|
||||
|
||||
bool checkHideMapWindowActive;
|
||||
|
||||
void Awake ()
|
||||
{
|
||||
if (checkElementsOnAwakeEnabled) {
|
||||
@@ -747,6 +752,22 @@ public class mapSystem : MonoBehaviour
|
||||
if (mainMapUISystemAssigned) {
|
||||
mainMapUISystem.setCurrentFloorNumberText ((currentFloorNumber).ToString ());
|
||||
}
|
||||
} else {
|
||||
if (checkMinimapWindowActiveStateOnOtherMenusEnabled) {
|
||||
if (pauseManager.isPlayerMenuActive ()) {
|
||||
if (!checkHideMapWindowActive) {
|
||||
setMapWindowActiveState (false);
|
||||
|
||||
checkHideMapWindowActive = true;
|
||||
}
|
||||
} else {
|
||||
if (checkHideMapWindowActive) {
|
||||
setMapWindowActiveState (true);
|
||||
|
||||
checkHideMapWindowActive = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2351,7 +2372,17 @@ public class mapSystem : MonoBehaviour
|
||||
return;
|
||||
}
|
||||
|
||||
openOrCloseMenuPanel (!mapOpened);
|
||||
bool checkResult =
|
||||
|
||||
(!playerControllerManager.isPlayerMenuActive () || mapOpened) &&
|
||||
|
||||
(!playerControllerManager.isUsingDevice () || playerControllerManager.isPlayerDriving ()) &&
|
||||
|
||||
!pauseManager.isGamePaused ();
|
||||
|
||||
if (checkResult) {
|
||||
openOrCloseMenuPanel (!mapOpened);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2674,6 +2705,18 @@ public class mapSystem : MonoBehaviour
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mapOpened) {
|
||||
if (checkMinimapWindowActiveStateOnOtherMenusEnabled) {
|
||||
if (checkHideMapWindowActive) {
|
||||
setMapWindowActiveState (true);
|
||||
|
||||
checkHideMapWindowActive = false;
|
||||
}
|
||||
} else {
|
||||
setMapWindowActiveState (true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2768,6 +2811,28 @@ public class mapSystem : MonoBehaviour
|
||||
}
|
||||
}
|
||||
|
||||
public void checkMapWindowActiveIfOtherMenuOpened ()
|
||||
{
|
||||
if (mapEnabled) {
|
||||
if (!mapOpened) {
|
||||
if (pauseManager.isPlayerMenuActive ()) {
|
||||
setMapWindowActiveState (false);
|
||||
} else {
|
||||
setMapWindowActiveState (true);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setMapWindowActiveState (bool state)
|
||||
{
|
||||
if (mainMapUISystemAssigned) {
|
||||
if (mapWindow.gameObject.activeSelf != state) {
|
||||
mapWindow.gameObject.SetActive (state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public float getDeltaTime ()
|
||||
{
|
||||
if (pauseManager.isRegularTimeScaleActive ()) {
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapSystem.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapTileBuilder.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -6,122 +6,122 @@ using UnityEngine.Events;
|
||||
|
||||
public class mapUISystem : ingameMenuPanel
|
||||
{
|
||||
[Header ("Debug")]
|
||||
[Space]
|
||||
[Header ("Debug")]
|
||||
[Space]
|
||||
|
||||
public bool showDebugPrint;
|
||||
public bool showDebugPrint;
|
||||
|
||||
public bool componentsAssigned;
|
||||
public bool componentsAssigned;
|
||||
|
||||
public bool menuOpened;
|
||||
public bool menuOpened;
|
||||
|
||||
public bool mainMapSystemAssigned;
|
||||
public bool mainMapSystemAssigned;
|
||||
|
||||
|
||||
[Space]
|
||||
[Header ("Main Map Elements")]
|
||||
[Space]
|
||||
[Space]
|
||||
[Header ("Main Map Elements")]
|
||||
[Space]
|
||||
|
||||
public GameObject mapContent;
|
||||
public GameObject mapContent;
|
||||
|
||||
public GameObject mapMenu;
|
||||
public RectTransform mapWindowTargetPosition;
|
||||
public RectTransform mapRender;
|
||||
public RectTransform mapWindow;
|
||||
public GameObject mapMenu;
|
||||
public RectTransform mapWindowTargetPosition;
|
||||
public RectTransform mapRender;
|
||||
public RectTransform mapWindow;
|
||||
|
||||
public RectTransform playerMapIcon;
|
||||
public RectTransform playerIconChild;
|
||||
public RectTransform playerMapIcon;
|
||||
public RectTransform playerIconChild;
|
||||
|
||||
public Image removeMarkButtonImage;
|
||||
public Image quickTravelButtonImage;
|
||||
public Image removeMarkButtonImage;
|
||||
public Image quickTravelButtonImage;
|
||||
|
||||
public Text mapObjectNameField;
|
||||
public Text mapObjectInfoField;
|
||||
public Text mapObjectNameField;
|
||||
public Text mapObjectInfoField;
|
||||
|
||||
public Text currentFloorNumberText;
|
||||
public Text currentMapZoneText;
|
||||
public Text currentFloorNumberText;
|
||||
public Text currentMapZoneText;
|
||||
|
||||
public GameObject mapIndexWindow;
|
||||
public GameObject mapIndexWindowContent;
|
||||
public Scrollbar mapIndexWindowScroller;
|
||||
public GameObject mapIndexWindow;
|
||||
public GameObject mapIndexWindowContent;
|
||||
public Scrollbar mapIndexWindowScroller;
|
||||
|
||||
[Space]
|
||||
[Header ("Other Elements")]
|
||||
[Space]
|
||||
[Space]
|
||||
[Header ("Other Elements")]
|
||||
[Space]
|
||||
|
||||
public RectTransform mapWindowMask;
|
||||
public RectTransform mapWindowMask;
|
||||
|
||||
public GameObject mapCursor;
|
||||
public GameObject mapCursor;
|
||||
|
||||
public RectTransform mapCursorRectTransform;
|
||||
public RectTransform mapCursorRectTransform;
|
||||
|
||||
public GameObject currenMapIconPressed;
|
||||
public GameObject currenMapIconPressed;
|
||||
|
||||
public Scrollbar zoomScrollbar;
|
||||
public Scrollbar zoomScrollbar;
|
||||
|
||||
public Transform mapCircleTransform;
|
||||
public Transform mapCircleTransform;
|
||||
|
||||
[Space]
|
||||
[Header ("Compass Elements")]
|
||||
[Space]
|
||||
[Space]
|
||||
[Header ("Compass Elements")]
|
||||
[Space]
|
||||
|
||||
public RectTransform compassWindow;
|
||||
public RectTransform compassElementsParent;
|
||||
public RectTransform north;
|
||||
public RectTransform south;
|
||||
public RectTransform east;
|
||||
public RectTransform west;
|
||||
public RectTransform northEast;
|
||||
public RectTransform southWest;
|
||||
public RectTransform southEast;
|
||||
public RectTransform northWest;
|
||||
public RectTransform compassWindow;
|
||||
public RectTransform compassElementsParent;
|
||||
public RectTransform north;
|
||||
public RectTransform south;
|
||||
public RectTransform east;
|
||||
public RectTransform west;
|
||||
public RectTransform northEast;
|
||||
public RectTransform southWest;
|
||||
public RectTransform southEast;
|
||||
public RectTransform northWest;
|
||||
|
||||
[Space]
|
||||
[Header ("Components")]
|
||||
[Space]
|
||||
[Space]
|
||||
[Header ("Components")]
|
||||
[Space]
|
||||
|
||||
public mapSystem mainMapSystem;
|
||||
public mapSystem mainMapSystem;
|
||||
|
||||
|
||||
void Start ()
|
||||
{
|
||||
if (!mainMapSystemAssigned) {
|
||||
if (mainMapSystem != null) {
|
||||
mainMapSystemAssigned = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
void Start ()
|
||||
{
|
||||
if (!mainMapSystemAssigned) {
|
||||
if (mainMapSystem != null) {
|
||||
mainMapSystemAssigned = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public override void initializeMenuPanel ()
|
||||
{
|
||||
if (mainMapSystem == null) {
|
||||
checkMenuComponents ();
|
||||
}
|
||||
}
|
||||
public override void initializeMenuPanel ()
|
||||
{
|
||||
if (mainMapSystem == null) {
|
||||
checkMenuComponents ();
|
||||
}
|
||||
}
|
||||
|
||||
void checkMenuComponents ()
|
||||
{
|
||||
if (!componentsAssigned) {
|
||||
if (pauseManager != null) {
|
||||
playerComponentsManager currentPlayerComponentsManager = pauseManager.getPlayerControllerGameObject ().GetComponent<playerComponentsManager> ();
|
||||
void checkMenuComponents ()
|
||||
{
|
||||
if (!componentsAssigned) {
|
||||
if (pauseManager != null) {
|
||||
playerComponentsManager currentPlayerComponentsManager = pauseManager.getPlayerControllerGameObject ().GetComponent<playerComponentsManager> ();
|
||||
|
||||
if (currentPlayerComponentsManager != null) {
|
||||
if (currentPlayerComponentsManager != null) {
|
||||
|
||||
mainMapSystem = currentPlayerComponentsManager.getMapSystem ();
|
||||
mainMapSystem = currentPlayerComponentsManager.getMapSystem ();
|
||||
|
||||
mainMapSystemAssigned = mainMapSystem != null;
|
||||
}
|
||||
}
|
||||
mainMapSystemAssigned = mainMapSystem != null;
|
||||
}
|
||||
}
|
||||
|
||||
componentsAssigned = true;
|
||||
}
|
||||
}
|
||||
componentsAssigned = true;
|
||||
}
|
||||
}
|
||||
|
||||
public override void openOrCloseMenuPanel (bool state)
|
||||
{
|
||||
public override void openOrCloseMenuPanel (bool state)
|
||||
{
|
||||
if (state) {
|
||||
if (!pauseManager.checkIfMenuCanBeUsedByName (menuPanelName)) {
|
||||
return;
|
||||
@@ -130,285 +130,304 @@ public class mapUISystem : ingameMenuPanel
|
||||
|
||||
base.openOrCloseMenuPanel (state);
|
||||
|
||||
menuOpened = state;
|
||||
menuOpened = state;
|
||||
|
||||
checkMenuComponents ();
|
||||
checkMenuComponents ();
|
||||
|
||||
if (state) {
|
||||
if (state) {
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
if (mainMapSystemAssigned) {
|
||||
mainMapSystem.openOrCloseMap (menuOpened);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
if (mainMapSystemAssigned) {
|
||||
mainMapSystem.openOrCloseMap (menuOpened);
|
||||
}
|
||||
}
|
||||
|
||||
public override void checkMenuIfCurrentOpened ()
|
||||
{
|
||||
if (mainMapSystemAssigned) {
|
||||
mainMapSystem.setMapWindowActiveState (true);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMapContentActiveState (bool state)
|
||||
{
|
||||
if (mapContent.activeSelf != state) {
|
||||
mapContent.SetActive (state);
|
||||
}
|
||||
}
|
||||
public override void checkMenuIfNotCurrentOpened ()
|
||||
{
|
||||
if (mainMapSystemAssigned) {
|
||||
mainMapSystem.setMapWindowActiveState (false);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMapMenuActiveState (bool state)
|
||||
{
|
||||
if (mapMenu.activeSelf != state) {
|
||||
mapMenu.SetActive (state);
|
||||
}
|
||||
}
|
||||
public override void checkAllMenusClosed ()
|
||||
{
|
||||
if (mainMapSystemAssigned) {
|
||||
mainMapSystem.setMapWindowActiveState (true);
|
||||
}
|
||||
}
|
||||
|
||||
public Transform getMapMenuTransform ()
|
||||
{
|
||||
return mapMenu.transform;
|
||||
}
|
||||
public void setMapContentActiveState (bool state)
|
||||
{
|
||||
if (mapContent.activeSelf != state) {
|
||||
mapContent.SetActive (state);
|
||||
}
|
||||
}
|
||||
|
||||
public void removeMapObjectInfo ()
|
||||
{
|
||||
mapObjectInfoField.text = "";
|
||||
mapObjectNameField.text = "";
|
||||
}
|
||||
public void setMapMenuActiveState (bool state)
|
||||
{
|
||||
if (mapMenu.activeSelf != state) {
|
||||
mapMenu.SetActive (state);
|
||||
}
|
||||
}
|
||||
|
||||
public void setMapObjectInfoText (string mapObjectInfoFieldText, string mapObjectNameFieldText)
|
||||
{
|
||||
mapObjectInfoField.text = mapObjectInfoFieldText;
|
||||
mapObjectNameField.text = mapObjectNameFieldText;
|
||||
}
|
||||
public Transform getMapMenuTransform ()
|
||||
{
|
||||
return mapMenu.transform;
|
||||
}
|
||||
|
||||
public void setCurrentFloorNumberText (string newText)
|
||||
{
|
||||
currentFloorNumberText.text = newText;
|
||||
}
|
||||
public void removeMapObjectInfo ()
|
||||
{
|
||||
mapObjectInfoField.text = "";
|
||||
mapObjectNameField.text = "";
|
||||
}
|
||||
|
||||
public void setCurrentMapZoneText (string newText)
|
||||
{
|
||||
currentMapZoneText.text = newText;
|
||||
}
|
||||
public void setMapObjectInfoText (string mapObjectInfoFieldText, string mapObjectNameFieldText)
|
||||
{
|
||||
mapObjectInfoField.text = mapObjectInfoFieldText;
|
||||
mapObjectNameField.text = mapObjectNameFieldText;
|
||||
}
|
||||
|
||||
public void setMapIndexWindowScrollerValue (int newValue)
|
||||
{
|
||||
mapIndexWindowScroller.value = newValue;
|
||||
}
|
||||
public void setCurrentFloorNumberText (string newText)
|
||||
{
|
||||
currentFloorNumberText.text = newText;
|
||||
}
|
||||
|
||||
public void setZoomScrollbarValue (float newValue)
|
||||
{
|
||||
zoomScrollbar.value = newValue;
|
||||
}
|
||||
public void setCurrentMapZoneText (string newText)
|
||||
{
|
||||
currentMapZoneText.text = newText;
|
||||
}
|
||||
|
||||
public void enableOrDisableCompass (bool state)
|
||||
{
|
||||
if (compassWindow.gameObject.activeSelf != state) {
|
||||
compassWindow.gameObject.SetActive (state);
|
||||
}
|
||||
}
|
||||
public void setMapIndexWindowScrollerValue (int newValue)
|
||||
{
|
||||
mapIndexWindowScroller.value = newValue;
|
||||
}
|
||||
|
||||
public RectTransform getCompassElementsParent ()
|
||||
{
|
||||
return compassElementsParent;
|
||||
}
|
||||
public void setZoomScrollbarValue (float newValue)
|
||||
{
|
||||
zoomScrollbar.value = newValue;
|
||||
}
|
||||
|
||||
public void disableMainCompassDirections ()
|
||||
{
|
||||
if (northEast.gameObject.activeSelf) {
|
||||
northEast.gameObject.SetActive (false);
|
||||
}
|
||||
public void enableOrDisableCompass (bool state)
|
||||
{
|
||||
if (compassWindow.gameObject.activeSelf != state) {
|
||||
compassWindow.gameObject.SetActive (state);
|
||||
}
|
||||
}
|
||||
|
||||
if (southWest.gameObject.activeSelf) {
|
||||
southWest.gameObject.SetActive (false);
|
||||
}
|
||||
public RectTransform getCompassElementsParent ()
|
||||
{
|
||||
return compassElementsParent;
|
||||
}
|
||||
|
||||
if (southEast.gameObject.activeSelf) {
|
||||
southEast.gameObject.SetActive (false);
|
||||
}
|
||||
public void disableMainCompassDirections ()
|
||||
{
|
||||
if (northEast.gameObject.activeSelf) {
|
||||
northEast.gameObject.SetActive (false);
|
||||
}
|
||||
|
||||
if (northWest.gameObject.activeSelf) {
|
||||
northWest.gameObject.SetActive (false);
|
||||
}
|
||||
}
|
||||
if (southWest.gameObject.activeSelf) {
|
||||
southWest.gameObject.SetActive (false);
|
||||
}
|
||||
|
||||
public void checkCurrentMapIconPressedParent ()
|
||||
{
|
||||
if (currenMapIconPressed != null) {
|
||||
currenMapIconPressed.transform.SetParent (mapWindow);
|
||||
if (southEast.gameObject.activeSelf) {
|
||||
southEast.gameObject.SetActive (false);
|
||||
}
|
||||
|
||||
currenMapIconPressedActiveState (false);
|
||||
}
|
||||
}
|
||||
if (northWest.gameObject.activeSelf) {
|
||||
northWest.gameObject.SetActive (false);
|
||||
}
|
||||
}
|
||||
|
||||
public void currenMapIconPressedActiveState (bool state)
|
||||
{
|
||||
if (currenMapIconPressed.activeSelf != state) {
|
||||
currenMapIconPressed.SetActive (state);
|
||||
}
|
||||
}
|
||||
public void checkCurrentMapIconPressedParent ()
|
||||
{
|
||||
if (currenMapIconPressed != null) {
|
||||
currenMapIconPressed.transform.SetParent (mapWindow);
|
||||
|
||||
public void checkCurrentIconPressed (bool state, Transform mapIconTransform)
|
||||
{
|
||||
if (state) {
|
||||
currenMapIconPressed.transform.SetParent (mapIconTransform);
|
||||
currenMapIconPressed.transform.localPosition = Vector3.zero;
|
||||
}
|
||||
currenMapIconPressedActiveState (false);
|
||||
}
|
||||
}
|
||||
|
||||
currenMapIconPressedActiveState (state);
|
||||
}
|
||||
public void currenMapIconPressedActiveState (bool state)
|
||||
{
|
||||
if (currenMapIconPressed.activeSelf != state) {
|
||||
currenMapIconPressed.SetActive (state);
|
||||
}
|
||||
}
|
||||
|
||||
public Vector3 getMapCursorRectTransformPosition ()
|
||||
{
|
||||
return mapCursorRectTransform.position;
|
||||
}
|
||||
public void checkCurrentIconPressed (bool state, Transform mapIconTransform)
|
||||
{
|
||||
if (state) {
|
||||
currenMapIconPressed.transform.SetParent (mapIconTransform);
|
||||
currenMapIconPressed.transform.localPosition = Vector3.zero;
|
||||
}
|
||||
|
||||
public void setMapCursorActiveState (bool state)
|
||||
{
|
||||
if (mapCursor != null) {
|
||||
if (mapCursor.activeSelf != state) {
|
||||
mapCursor.SetActive (state);
|
||||
}
|
||||
}
|
||||
}
|
||||
currenMapIconPressedActiveState (state);
|
||||
}
|
||||
|
||||
public void setMapCursorAsLastSibling ()
|
||||
{
|
||||
mapCursor.transform.SetAsLastSibling ();
|
||||
}
|
||||
public Vector3 getMapCursorRectTransformPosition ()
|
||||
{
|
||||
return mapCursorRectTransform.position;
|
||||
}
|
||||
|
||||
public void setMapIndexWindowActiveState (bool state)
|
||||
{
|
||||
if (mapIndexWindow.activeSelf != state) {
|
||||
mapIndexWindow.SetActive (state);
|
||||
}
|
||||
}
|
||||
public void setMapCursorActiveState (bool state)
|
||||
{
|
||||
if (mapCursor != null) {
|
||||
if (mapCursor.activeSelf != state) {
|
||||
mapCursor.SetActive (state);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void setRemoveMarkButtonImageColor (Color newColor)
|
||||
{
|
||||
removeMarkButtonImage.color = newColor;
|
||||
}
|
||||
public void setMapCursorAsLastSibling ()
|
||||
{
|
||||
mapCursor.transform.SetAsLastSibling ();
|
||||
}
|
||||
|
||||
public void setQuickTravelButtonImageColor (Color newColor)
|
||||
{
|
||||
quickTravelButtonImage.color = newColor;
|
||||
}
|
||||
public void setMapIndexWindowActiveState (bool state)
|
||||
{
|
||||
if (mapIndexWindow.activeSelf != state) {
|
||||
mapIndexWindow.SetActive (state);
|
||||
}
|
||||
}
|
||||
|
||||
public RectTransform getMapRender ()
|
||||
{
|
||||
return mapRender;
|
||||
}
|
||||
public void setRemoveMarkButtonImageColor (Color newColor)
|
||||
{
|
||||
removeMarkButtonImage.color = newColor;
|
||||
}
|
||||
|
||||
public RectTransform getMapWindow ()
|
||||
{
|
||||
return mapWindow;
|
||||
}
|
||||
public void setQuickTravelButtonImageColor (Color newColor)
|
||||
{
|
||||
quickTravelButtonImage.color = newColor;
|
||||
}
|
||||
|
||||
public RectTransform getPlayerMapIcon ()
|
||||
{
|
||||
return playerMapIcon;
|
||||
}
|
||||
public RectTransform getMapRender ()
|
||||
{
|
||||
return mapRender;
|
||||
}
|
||||
|
||||
public RectTransform getPlayerIconChild ()
|
||||
{
|
||||
return playerIconChild;
|
||||
}
|
||||
public RectTransform getMapWindow ()
|
||||
{
|
||||
return mapWindow;
|
||||
}
|
||||
|
||||
public Image getRemoveMarkButtonImage ()
|
||||
{
|
||||
return removeMarkButtonImage;
|
||||
}
|
||||
public RectTransform getPlayerMapIcon ()
|
||||
{
|
||||
return playerMapIcon;
|
||||
}
|
||||
|
||||
public Image getQuickTravelButtonImage ()
|
||||
{
|
||||
return quickTravelButtonImage;
|
||||
}
|
||||
public RectTransform getPlayerIconChild ()
|
||||
{
|
||||
return playerIconChild;
|
||||
}
|
||||
|
||||
public void changeMapIndexWindowState ()
|
||||
{
|
||||
mainMapSystem.changeMapIndexWindowState ();
|
||||
}
|
||||
public Image getRemoveMarkButtonImage ()
|
||||
{
|
||||
return removeMarkButtonImage;
|
||||
}
|
||||
|
||||
public void enableOrDisableAllMapIconType (Slider iconSlider)
|
||||
{
|
||||
mainMapSystem.enableOrDisableAllMapIconType (iconSlider);
|
||||
}
|
||||
public Image getQuickTravelButtonImage ()
|
||||
{
|
||||
return quickTravelButtonImage;
|
||||
}
|
||||
|
||||
public void enableOrDisableMapIconType (Slider iconSlider)
|
||||
{
|
||||
mainMapSystem.enableOrDisableMapIconType (iconSlider);
|
||||
}
|
||||
public void changeMapIndexWindowState ()
|
||||
{
|
||||
mainMapSystem.changeMapIndexWindowState ();
|
||||
}
|
||||
|
||||
public void zoomInEnabled ()
|
||||
{
|
||||
mainMapSystem.zoomInEnabled ();
|
||||
}
|
||||
public void enableOrDisableAllMapIconType (Slider iconSlider)
|
||||
{
|
||||
mainMapSystem.enableOrDisableAllMapIconType (iconSlider);
|
||||
}
|
||||
|
||||
public void zoomInDisabled ()
|
||||
{
|
||||
mainMapSystem.zoomInDisabled ();
|
||||
}
|
||||
public void enableOrDisableMapIconType (Slider iconSlider)
|
||||
{
|
||||
mainMapSystem.enableOrDisableMapIconType (iconSlider);
|
||||
}
|
||||
|
||||
public void zoomOutEnabled ()
|
||||
{
|
||||
mainMapSystem.zoomOutEnabled ();
|
||||
}
|
||||
public void zoomInEnabled ()
|
||||
{
|
||||
mainMapSystem.zoomInEnabled ();
|
||||
}
|
||||
|
||||
public void zoomOutDisabled ()
|
||||
{
|
||||
mainMapSystem.zoomOutDisabled ();
|
||||
}
|
||||
public void zoomInDisabled ()
|
||||
{
|
||||
mainMapSystem.zoomInDisabled ();
|
||||
}
|
||||
|
||||
public void checkNextFloor ()
|
||||
{
|
||||
mainMapSystem.checkNextFloor ();
|
||||
}
|
||||
public void zoomOutEnabled ()
|
||||
{
|
||||
mainMapSystem.zoomOutEnabled ();
|
||||
}
|
||||
|
||||
public void checkPrevoiusFloor ()
|
||||
{
|
||||
mainMapSystem.checkPrevoiusFloor ();
|
||||
}
|
||||
public void zoomOutDisabled ()
|
||||
{
|
||||
mainMapSystem.zoomOutDisabled ();
|
||||
}
|
||||
|
||||
public void placeMark ()
|
||||
{
|
||||
mainMapSystem.placeMark ();
|
||||
}
|
||||
public void checkNextFloor ()
|
||||
{
|
||||
mainMapSystem.checkNextFloor ();
|
||||
}
|
||||
|
||||
public void removeMark ()
|
||||
{
|
||||
mainMapSystem.removeMark ();
|
||||
}
|
||||
public void checkPrevoiusFloor ()
|
||||
{
|
||||
mainMapSystem.checkPrevoiusFloor ();
|
||||
}
|
||||
|
||||
public void activateQuickTravel ()
|
||||
{
|
||||
mainMapSystem.activateQuickTravel ();
|
||||
}
|
||||
public void placeMark ()
|
||||
{
|
||||
mainMapSystem.placeMark ();
|
||||
}
|
||||
|
||||
public void set2dOr3ddMapView (bool state)
|
||||
{
|
||||
mainMapSystem.set2dOr3ddMapView (state);
|
||||
}
|
||||
public void removeMark ()
|
||||
{
|
||||
mainMapSystem.removeMark ();
|
||||
}
|
||||
|
||||
public void recenterCameraPosition ()
|
||||
{
|
||||
mainMapSystem.recenterCameraPosition ();
|
||||
}
|
||||
public void activateQuickTravel ()
|
||||
{
|
||||
mainMapSystem.activateQuickTravel ();
|
||||
}
|
||||
|
||||
public void setUsingScrollbarZoomState (bool state)
|
||||
{
|
||||
mainMapSystem.setUsingScrollbarZoomState (state);
|
||||
}
|
||||
public void set2dOr3ddMapView (bool state)
|
||||
{
|
||||
mainMapSystem.set2dOr3ddMapView (state);
|
||||
}
|
||||
|
||||
public void setZoomByScrollBar (Scrollbar mainZoomScrollbar)
|
||||
{
|
||||
mainMapSystem.setZoomByScrollBar (mainZoomScrollbar);
|
||||
}
|
||||
public void recenterCameraPosition ()
|
||||
{
|
||||
mainMapSystem.recenterCameraPosition ();
|
||||
}
|
||||
|
||||
public void checkNextBuilding ()
|
||||
{
|
||||
mainMapSystem.checkNextBuilding ();
|
||||
}
|
||||
public void setUsingScrollbarZoomState (bool state)
|
||||
{
|
||||
mainMapSystem.setUsingScrollbarZoomState (state);
|
||||
}
|
||||
|
||||
public void checkPrevoiusBuilding ()
|
||||
{
|
||||
mainMapSystem.checkPrevoiusBuilding ();
|
||||
}
|
||||
public void setZoomByScrollBar (Scrollbar mainZoomScrollbar)
|
||||
{
|
||||
mainMapSystem.setZoomByScrollBar (mainZoomScrollbar);
|
||||
}
|
||||
|
||||
public void checkNextBuilding ()
|
||||
{
|
||||
mainMapSystem.checkNextBuilding ();
|
||||
}
|
||||
|
||||
public void checkPrevoiusBuilding ()
|
||||
{
|
||||
mainMapSystem.checkPrevoiusBuilding ();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapUISystem.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/mapZoneUnlocker.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/objectiveIconInfo.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/quickTravelStationSystem.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
@@ -13,7 +13,8 @@ MonoImporter:
|
||||
AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 40995
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure Creator 3D + 2.5D
|
||||
packageVersion: 3.77g
|
||||
packageName: Game Kit Controller - Shooter Melee Adventure FPS TPS Creator 3D +
|
||||
2.5D
|
||||
packageVersion: 3.77h
|
||||
assetPath: Assets/Game Kit Controller/Scripts/Map/setMapOrientationSystem.cs
|
||||
uploadId: 814740
|
||||
uploadId: 889948
|
||||
|
||||
Reference in New Issue
Block a user