From e90f5ec595aaf8221d978eec2022b7c5de757f38 Mon Sep 17 00:00:00 2001 From: Koji Hasegawa Date: Sun, 14 Apr 2024 23:13:15 +0900 Subject: [PATCH] Remove defineConstraints from annotation assembly --- Annotations/TestHelper.Monkey.Annotations.asmdef | 4 +--- README.md | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Annotations/TestHelper.Monkey.Annotations.asmdef b/Annotations/TestHelper.Monkey.Annotations.asmdef index 3b1a7ec..6c80c4b 100644 --- a/Annotations/TestHelper.Monkey.Annotations.asmdef +++ b/Annotations/TestHelper.Monkey.Annotations.asmdef @@ -8,9 +8,7 @@ "overrideReferences": false, "precompiledReferences": [], "autoReferenced": false, - "defineConstraints": [ - "UNITY_INCLUDE_TESTS || COM_NOWSPRINTING_TEST_HELPER_ENABLE" - ], + "defineConstraints": [], "versionDefines": [], "noEngineReferences": false } \ No newline at end of file diff --git a/README.md b/README.md index 5f084d2..7c30dbb 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,10 @@ More customize for your project: You can control the Monkey's behavior by attaching the annotation components to the GameObject. +> [!NOTE] +> Since links with annotation components remain in the scenes and prefabs, a warning log will be generated at the time of instantiate. +> To avoid this, annotation assembly are included in release builds. + #### IgnoreAnnotation Monkey will not operate objects with `IgnoreAnnotation` attached.