mirror of
https://udrimavric.com/MAVRIC/Stratasys-450mc-VR.git
synced 2025-01-22 07:09:01 -05:00
MAVRIC-2174 update reset
This commit is contained in:
parent
ec8bbc9e52
commit
8f52817ab7
@ -136,6 +136,7 @@ GameObject:
|
||||
- component: {fileID: 8186020013587274067}
|
||||
- component: {fileID: 5923383708012095466}
|
||||
- component: {fileID: 1089631965768277407}
|
||||
- component: {fileID: 4583404016849037156}
|
||||
m_Layer: 5
|
||||
m_Name: ResetButton
|
||||
m_TagString: Untagged
|
||||
@ -215,9 +216,9 @@ MonoBehaviour:
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls:
|
||||
- m_Target: {fileID: 11400000, guid: 01bac99d247b8c846960e3bb3d397044, type: 2}
|
||||
m_TargetAssemblyTypeName: SO.Channels.SimpleChannelSO, Assembly-CSharp
|
||||
m_MethodName: RaiseEvent
|
||||
- m_Target: {fileID: 4583404016849037156}
|
||||
m_TargetAssemblyTypeName: SceneReload, Assembly-CSharp
|
||||
m_MethodName: ReloadScene
|
||||
m_Mode: 1
|
||||
m_Arguments:
|
||||
m_ObjectArgument: {fileID: 0}
|
||||
@ -295,6 +296,18 @@ MonoBehaviour:
|
||||
m_ApplyIfChildIsTarget: 1
|
||||
m_ClampToMaxDistance: 1
|
||||
m_MaxDistance: 20
|
||||
--- !u!114 &4583404016849037156
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 389597286977303398}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 51a2c8b6b6fd3a145a7c17b55874cd88, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &444216130953527922
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
11
Assets/Scripts/SceneReload.cs
Normal file
11
Assets/Scripts/SceneReload.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class SceneReload : MonoBehaviour
|
||||
{
|
||||
public void ReloadScene()
|
||||
{
|
||||
UnityEngine.SceneManagement.SceneManager.LoadScene(UnityEngine.SceneManagement.SceneManager.GetActiveScene().name);
|
||||
}
|
||||
}
|
11
Assets/Scripts/SceneReload.cs.meta
Normal file
11
Assets/Scripts/SceneReload.cs.meta
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 51a2c8b6b6fd3a145a7c17b55874cd88
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue
Block a user