Skip to content

Commit

Permalink
Merge pull request #119 from nowsprinting/chore/remopve_define_constr…
Browse files Browse the repository at this point in the history
…aints_from_annotations

Remove defineConstraints from annotation assembly
  • Loading branch information
nowsprinting authored Apr 14, 2024
2 parents b081a65 + e90f5ec commit 36fc593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Annotations/TestHelper.Monkey.Annotations.asmdef
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": false,
"defineConstraints": [
"UNITY_INCLUDE_TESTS || COM_NOWSPRINTING_TEST_HELPER_ENABLE"
],
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 36fc593

Please sign in to comment.