Skip to content

Commit

Permalink
Merge pull request #5 from oikawa-yusuke/update-unity-sensors-ros
Browse files Browse the repository at this point in the history
Update unity sensors ros
  • Loading branch information
RyodoTanaka authored Jun 30, 2023
2 parents 09bb823 + 535951b commit c796222
Show file tree
Hide file tree
Showing 186 changed files with 1,718 additions and 13,455 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ sysinfo.txt
# Builds
*.apk
*.unitypackage

# mac
*.DS_Store

# default-2021.dwlt
/UserSettings/*
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "External/UnitySensorsROSAssets"]
path = External/UnitySensorsROSAssets
url = https://github.com/Field-Robotics-Japan/UnitySensorsROSAssets.git
1 change: 1 addition & 0 deletions Assets/AddressableAssetsData
1 change: 1 addition & 0 deletions Assets/AddressableAssetsData.meta
8 changes: 4 additions & 4 deletions Assets/Pcx/Editor/PlyImporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using UnityEngine;
using UnityEngine.Rendering;
using UnityEditor;
using UnityEditor.Experimental.AssetImporters;


using System;
using System.Collections.Generic;
Expand All @@ -13,16 +13,16 @@

namespace Pcx
{
[ScriptedImporter(1, "ply")]
class PlyImporter : ScriptedImporter
[UnityEditor.AssetImporters.ScriptedImporter(1, "ply")]
class PlyImporter : UnityEditor.AssetImporters.ScriptedImporter
{
#region ScriptedImporter implementation

public enum ContainerType { Mesh, ComputeBuffer, Texture }

[SerializeField] ContainerType _containerType = ContainerType.Mesh;

public override void OnImportAsset(AssetImportContext context)
public override void OnImportAsset(UnityEditor.AssetImporters.AssetImportContext context)
{
if (_containerType == ContainerType.Mesh)
{
Expand Down
4 changes: 2 additions & 2 deletions Assets/Pcx/Editor/PlyImporterInspector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

using UnityEngine;
using UnityEditor;
using UnityEditor.Experimental.AssetImporters;


namespace Pcx
{
// Note: Not sure why but EnumPopup doesn't work in ScriptedImporterEditor,
// so it has been replaced with a normal Popup control.

[CustomEditor(typeof(PlyImporter))]
class PlyImporterInspector : ScriptedImporterEditor
class PlyImporterInspector : UnityEditor.AssetImporters.ScriptedImporterEditor
{
SerializedProperty _containerType;

Expand Down
1 change: 1 addition & 0 deletions Assets/Resources
1 change: 1 addition & 0 deletions Assets/Resources.meta
1 change: 1 addition & 0 deletions Assets/UnitySensors
1 change: 1 addition & 0 deletions Assets/UnitySensors.meta
1 change: 1 addition & 0 deletions Assets/UnitySensorsROS
1 change: 1 addition & 0 deletions Assets/UnitySensorsROS.meta
1 change: 1 addition & 0 deletions Assets/UnitySensorsROSAssets
1 change: 1 addition & 0 deletions Assets/UnitySensorsROSAssets.meta
8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials.meta

This file was deleted.

14 changes: 0 additions & 14 deletions Assets/unit04_unity/Materials/Body.physicMaterial

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials/Body.physicMaterial.meta

This file was deleted.

14 changes: 0 additions & 14 deletions Assets/unit04_unity/Materials/Plane.physicMaterial

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials/Plane.physicMaterial.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials/SimpleColor.meta

This file was deleted.

77 changes: 0 additions & 77 deletions Assets/unit04_unity/Materials/SimpleColor/Blue.mat

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials/SimpleColor/Blue.mat.meta

This file was deleted.

77 changes: 0 additions & 77 deletions Assets/unit04_unity/Materials/SimpleColor/Green.mat

This file was deleted.

8 changes: 0 additions & 8 deletions Assets/unit04_unity/Materials/SimpleColor/Green.mat.meta

This file was deleted.

Loading

0 comments on commit c796222

Please sign in to comment.