Skip to content

Commit

Permalink
Merge pull request #43 from ReinaS-64892/Inherit-IEditorOnly
Browse files Browse the repository at this point in the history
chore: Inherit IEditorOnly
  • Loading branch information
suzuryg authored Sep 18, 2023
2 parents a619687 + 9a1682d commit f0e6a07
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 35 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Suzuryg.FaceEmo.Components.MA;
using Suzuryg.FaceEmo.Components.AV3;
using System;
using UnityEngine;
using VRC.SDKBase.Editor.BuildPipeline;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
using AnimatorAsCode.V0.Extensions.VRChat;
using Suzuryg.FaceEmo.Domain;
using Suzuryg.FaceEmo.UseCase;
using Suzuryg.FaceEmo.Components.AV3;
using Suzuryg.FaceEmo.Components.Settings;
using Suzuryg.FaceEmo.Components.MA;
using Suzuryg.FaceEmo.Detail.Drawing;
using Suzuryg.FaceEmo.External.Hai.ComboGestureIntegrator;
using System;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using UnityEngine;

namespace Suzuryg.FaceEmo.Components.MA
namespace Suzuryg.FaceEmo.Components.AV3
{
[DisallowMultipleComponent]
public class BlinkDisabler : RunBeforeModularAvatar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,10 @@
using nadena.dev.modular_avatar.core;
#endif

namespace Suzuryg.FaceEmo.Components.MA
namespace Suzuryg.FaceEmo.Components.AV3
{
[DefaultExecutionOrder(-20000)] // run before modular avatar
#if USE_MODULAR_AVATAR
public abstract class RunBeforeModularAvatar : AvatarTagComponent // Inherit AvatarTagComponent to register in VRChat whitelist
#else
public abstract class RunBeforeModularAvatar : MonoBehaviour
#endif
public abstract class RunBeforeModularAvatar : MonoBehaviour , VRC.SDKBase.IEditorOnly // Inherit IEditorOnly to register in VRChat whitelist
{
#if UNITY_EDITOR
private static bool isPlaying => UnityEditor.EditorApplication.isPlayingOrWillChangePlaymode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
using UnityEditor.Animations;
#endif

namespace Suzuryg.FaceEmo.Components.MA
namespace Suzuryg.FaceEmo.Components.AV3
{
[DisallowMultipleComponent]
public class TrackingControlDisabler : RunBeforeModularAvatar
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "jp.suzuryg.face-emo.components.av3.Runtime",
"references": [
"GUID:ad29c40ce7d8264468d6c7634e6a3a40"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": true,
"precompiledReferences": [
"VRCSDKBase.dll",
"VRCSDK3A.dll"
],
"autoReferenced": false,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}

This file was deleted.

0 comments on commit f0e6a07

Please sign in to comment.