Compare commits
No commits in common. "e299823015bced6628ea8477417900f574f53995" and "d472278679de6fb2c8c221e94f5b40e71e5a8162" have entirely different histories.
e299823015
...
d472278679
4 changed files with 6 additions and 84 deletions
|
@ -7377,7 +7377,7 @@ GameObject:
|
||||||
m_Icon: {fileID: 0}
|
m_Icon: {fileID: 0}
|
||||||
m_NavMeshLayer: 0
|
m_NavMeshLayer: 0
|
||||||
m_StaticEditorFlags: 0
|
m_StaticEditorFlags: 0
|
||||||
m_IsActive: 0
|
m_IsActive: 1
|
||||||
--- !u!114 &96628618
|
--- !u!114 &96628618
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -15507,7 +15507,6 @@ GameObject:
|
||||||
- component: {fileID: 227548921}
|
- component: {fileID: 227548921}
|
||||||
- component: {fileID: 227548920}
|
- component: {fileID: 227548920}
|
||||||
- component: {fileID: 227548919}
|
- component: {fileID: 227548919}
|
||||||
- component: {fileID: 227548923}
|
|
||||||
- component: {fileID: 227548918}
|
- component: {fileID: 227548918}
|
||||||
m_Layer: 5
|
m_Layer: 5
|
||||||
m_Name: Desk Ipad/Tablet
|
m_Name: Desk Ipad/Tablet
|
||||||
|
@ -15629,18 +15628,6 @@ RectTransform:
|
||||||
m_AnchoredPosition: {x: -0.0005493164, y: 0.0005092621}
|
m_AnchoredPosition: {x: -0.0005493164, y: 0.0005092621}
|
||||||
m_SizeDelta: {x: 1003.1429, y: 564}
|
m_SizeDelta: {x: 1003.1429, y: 564}
|
||||||
m_Pivot: {x: 0.5, y: 0.5}
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
--- !u!114 &227548923
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 227548917}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 55eb55e50dc0ccf4999b017b5dfd68e4, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
--- !u!1001 &232082409
|
--- !u!1001 &232082409
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -34702,10 +34689,10 @@ MonoBehaviour:
|
||||||
m_OnClick:
|
m_OnClick:
|
||||||
m_PersistentCalls:
|
m_PersistentCalls:
|
||||||
m_Calls:
|
m_Calls:
|
||||||
- m_Target: {fileID: 227548923}
|
- m_Target: {fileID: 0}
|
||||||
m_TargetAssemblyTypeName: Tablet, Assembly-CSharp
|
m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine
|
||||||
m_MethodName: PauseGame
|
m_MethodName: SetActive
|
||||||
m_Mode: 1
|
m_Mode: 6
|
||||||
m_Arguments:
|
m_Arguments:
|
||||||
m_ObjectArgument: {fileID: 0}
|
m_ObjectArgument: {fileID: 0}
|
||||||
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
@ -65165,36 +65152,8 @@ PrefabInstance:
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_RemovedGameObjects: []
|
m_RemovedGameObjects: []
|
||||||
m_AddedGameObjects: []
|
m_AddedGameObjects: []
|
||||||
m_AddedComponents:
|
m_AddedComponents: []
|
||||||
- targetCorrespondingSourceObject: {fileID: 4834912315332365229, guid: f367d404b9812e241a03556c2eea72d3, type: 3}
|
|
||||||
insertIndex: -1
|
|
||||||
addedObject: {fileID: 4568907534340813913}
|
|
||||||
m_SourcePrefab: {fileID: 100100000, guid: f367d404b9812e241a03556c2eea72d3, type: 3}
|
m_SourcePrefab: {fileID: 100100000, guid: f367d404b9812e241a03556c2eea72d3, type: 3}
|
||||||
--- !u!1 &4568907534340813912 stripped
|
|
||||||
GameObject:
|
|
||||||
m_CorrespondingSourceObject: {fileID: 4834912315332365229, guid: f367d404b9812e241a03556c2eea72d3, type: 3}
|
|
||||||
m_PrefabInstance: {fileID: 4568907534340813911}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
--- !u!114 &4568907534340813913
|
|
||||||
MonoBehaviour:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
|
||||||
m_PrefabInstance: {fileID: 0}
|
|
||||||
m_PrefabAsset: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 4568907534340813912}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_EditorHideFlags: 0
|
|
||||||
m_Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3}
|
|
||||||
m_Name:
|
|
||||||
m_EditorClassIdentifier:
|
|
||||||
m_AgentTypeID: 0
|
|
||||||
m_StartPoint: {x: 0, y: 0, z: -4.66}
|
|
||||||
m_EndPoint: {x: 0, y: -0.04, z: -5.74}
|
|
||||||
m_Width: 2.18
|
|
||||||
m_CostModifier: -1
|
|
||||||
m_Bidirectional: 1
|
|
||||||
m_AutoUpdatePosition: 0
|
|
||||||
m_Area: 0
|
|
||||||
--- !u!1001 &4659621534868253087
|
--- !u!1001 &4659621534868253087
|
||||||
PrefabInstance:
|
PrefabInstance:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
|
Binary file not shown.
|
@ -1,26 +0,0 @@
|
||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using UnityEngine;
|
|
||||||
using UnityEngine.AI;
|
|
||||||
|
|
||||||
public class Tablet : MonoBehaviour
|
|
||||||
{
|
|
||||||
public void PauseGame()
|
|
||||||
{
|
|
||||||
Time.timeScale = 0;
|
|
||||||
var temp=GetComponents<NavMeshAgent>();
|
|
||||||
foreach (var agent in temp)
|
|
||||||
{
|
|
||||||
agent.isStopped = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
public void ResumeGame()
|
|
||||||
{
|
|
||||||
Time.timeScale = 1;
|
|
||||||
var temp = GetComponents<NavMeshAgent>();
|
|
||||||
foreach (var agent in temp)
|
|
||||||
{
|
|
||||||
agent.isStopped = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
fileFormatVersion: 2
|
|
||||||
guid: 55eb55e50dc0ccf4999b017b5dfd68e4
|
|
||||||
MonoImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
defaultReferences: []
|
|
||||||
executionOrder: 0
|
|
||||||
icon: {instanceID: 0}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
Loading…
Add table
Reference in a new issue