Skip to content

Commit

Permalink
fix asmdef files
Browse files Browse the repository at this point in the history
  • Loading branch information
ababilinski committed Jul 28, 2021
1 parent 31ce055 commit ab31f32
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 15 deletions.
5 changes: 3 additions & 2 deletions Editor/Autorun.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using UnityEngine;


namespace BabilinApps.RealSense.Downloader.Editor
namespace BabilinApps.RealSense.ARBackground.Editor
{

/// <summary>
Expand Down Expand Up @@ -95,8 +95,9 @@ static void OnEditorApplicationUpdate()
return;
}

AskToDownload();
EditorApplication.update -= OnEditorApplicationUpdate;
AskToDownload();

}

static void AskToDownload()
Expand Down
2 changes: 1 addition & 1 deletion Editor/BabilinApps.RealSense.ARBackground.Editor.asmdef
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "BabilinApps.RealSense.ARBackground.Runtime",
"name": "BabilinApps.RealSense.ARBackground.Editor",
"rootNamespace": "",
"references": [],
"includePlatforms": [
Expand Down
2 changes: 1 addition & 1 deletion Editor/PackageDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using UnityEngine.Networking;


namespace BabilinApps.RealSense.Downloader.Editor
namespace BabilinApps.RealSense.ARBackground.Editor
{
/// <summary>
/// Unofficial Package Downloader - that downloads the official RealSense asset package from github
Expand Down
19 changes: 17 additions & 2 deletions Runtime/Pipeline/ARBackgroundForwardRenderer.asset
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-8308289849485070257
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e2224b3d04f34d4995734e5a24b49532, type: 3}
m_Name: NewRealSenseBackgroundRendererFeature
m_EditorClassIdentifier:
m_Active: 1
_settings:
renderEvent: 250
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
Expand All @@ -13,8 +28,8 @@ MonoBehaviour:
m_Name: ARBackgroundForwardRenderer
m_EditorClassIdentifier:
m_RendererFeatures:
- {fileID: 7457946582108148146}
m_RendererFeatureMap: b211650ce7f27f67
- {fileID: -8308289849485070257}
m_RendererFeatureMap: 4f7075ae6606b38c
postProcessData: {fileID: 11400000, guid: 41439944d30ece34e96484bdb6645b55, type: 2}
xrSystemData: {fileID: 11400000, guid: 60e1133243b97e347b653163a8c01b64, type: 2}
shaders:
Expand Down
4 changes: 2 additions & 2 deletions Runtime/Scenes/ARBackground-URP.unity
Original file line number Diff line number Diff line change
Expand Up @@ -1400,8 +1400,8 @@ GameObject:
- component: {fileID: 1568271679}
- component: {fileID: 1568271678}
- component: {fileID: 1568271677}
- component: {fileID: 1568271681}
- component: {fileID: 1568271682}
- component: {fileID: 1568271681}
m_Layer: 0
m_Name: Camera
m_TagString: MainCamera
Expand Down Expand Up @@ -1495,7 +1495,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: ab85129d6ab9eae4aa6773f7276abff1, type: 3}
m_Name:
m_EditorClassIdentifier:
Source: {fileID: 114866817790844353}
Source: {fileID: 114785398870593136}
BackgroundMaterial: {fileID: 2100000, guid: 6e1f5e9643df5bb4bb6205cfa99759a7, type: 2}
--- !u!114 &1568271682
MonoBehaviour:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
{
"name": "BabilinApps.RealSense.Downloader.Editor",
"name": "BabilinApps.RealSense.ARBackground.Runtime",
"rootNamespace": "",
"references": [
"GUID:013d31ba725d57441b37057eb0e5963e",
"GUID:df380645f10b7bc4b97d4f5eb6303d95",
"GUID:15fc0a57446b3144c949da3e2b9737a9",
"GUID:013d31ba725d57441b37057eb0e5963e"
],
"includePlatforms": [
"Editor"
"GUID:15fc0a57446b3144c949da3e2b9737a9"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ab31f32

Please sign in to comment.