From f1e0a2f3f98c7acdb7244ce2e9f8b154fead9b16 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 18 May 2021 17:04:16 +0900 Subject: [PATCH] fix --- .../Constraint/ConstRaintException.cs | 20 +++++++++++++++++++ .../Constraint/ConstRaintException.cs.meta | 11 ++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs create mode 100644 Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs.meta diff --git a/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs b/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs new file mode 100644 index 000000000..5ec92109a --- /dev/null +++ b/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs @@ -0,0 +1,20 @@ +using System; + +namespace UniVRM10 +{ + public class ConstraintException : Exception + { + public enum ExceptionTypes + { + NoSource, + NoModelWithModelSpace + } + + public readonly ExceptionTypes Type; + + public ConstraintException(ExceptionTypes type) + { + Type = type; + } + } +} diff --git a/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs.meta b/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs.meta new file mode 100644 index 000000000..afc5fb285 --- /dev/null +++ b/Assets/VRM10/Runtime/Components/Constraint/ConstRaintException.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 13be84b73aeb40641978e083c750590d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: