Skip to content

Commit be4ae70

Browse files
committed
minor improvements
1 parent a7a0ba1 commit be4ae70

12 files changed

+144
-10
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
*.DS_Store
2-
*.meta
1+
*.DS_Store

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
## v1.0.2
4+
5+
### Added
6+
7+
- `OpenUPM` support
8+
- `CHANGELOG`
9+
10+
---
11+
12+
## v1.0.1
13+
14+
### Added
15+
16+
- ScriptingDefineSymbols checking improved
17+
18+
### Fixed
19+
20+
- Build errors

CHANGELOG.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor.meta

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/UnityDebugModeDefineSymbol.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Editor/Unity.DebugModeDefineSymbol.Editor.asmdef renamed to Editor/inc8877.DebugModeDefineSymbol.Editor.asmdef

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Unity.DebugModeDefineSymbol.Editor",
2+
"name": "inc8877.DebugModeDefineSymbol.Editor",
33
"rootNamespace": "",
44
"references": [],
55
"includePlatforms": [

Editor/inc8877.DebugModeDefineSymbol.Editor.asmdef.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,29 @@
11
# UnityDebugModeDefineSymbol
2-
A useful tool for running specific code <br>
2+
3+
A useful tool for running specific code
34
[What it is?](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/preprocessor-directives/preprocessor-if)
45

6+
## Table of Contents
7+
8+
- [UnityDebugModeDefineSymbol](#unitydebugmodedefinesymbol)
9+
- [Table of Contents](#table-of-contents)
10+
- [Compatibility](#compatibility)
11+
- [How to use](#how-to-use)
12+
- [Installation](#installation)
13+
- [Install via OpenUPM](#install-via-openupm)
14+
- [Install via Git URL](#install-via-git-url)
515

6-
### Compatibility
7-
| Unity | Compatible |
8-
|:-------:|:----------:|
9-
| 2020 |:white_check_mark:|
10-
| 2019 |:white_check_mark:|
16+
## Compatibility
17+
18+
| Unity | Compatible |
19+
| :---: | :----------------: |
20+
| 2021 | :white_check_mark: |
21+
| 2020 | :white_check_mark: |
22+
| 2019 | :white_check_mark: |
1123

1224
## How to use
13-
1. Add source code of this repo to your project
25+
26+
1. Add this tool to your project [[how](#installation)]
1427
2. Manage debug mode by following this path `Tools -> Debug Mode Definition ->` `On` / `Off`
1528
<img width="372" alt="choiceDiaologWindow_DebugMode" src="https://user-images.githubusercontent.com/29813954/111028008-6c7c1300-83fc-11eb-83f5-49093ae5c7da.png">
1629

@@ -23,3 +36,25 @@ A useful tool for running specific code <br>
2336
#endif
2437
// ... code somewhere
2538
```
39+
40+
## Installation
41+
42+
### Install via OpenUPM
43+
44+
The package is available on the [openupm](https://openupm.com) registry. It's recommended to install it via [openupm-cli](https://github.com/openupm/openupm-cli).
45+
46+
```c#
47+
openupm add com.inc8877.unity-debug-mode-define-symbol
48+
```
49+
50+
### Install via Git URL
51+
52+
Open `Packages/manifest.json` with your favorite text editor. Add the following line to the dependencies block.
53+
54+
```c#
55+
{
56+
"dependencies": {
57+
"com.inc8877.unity-debug-mode-define-symbol": "https://github.com/inc8877/UnityDebugModeDefineSymbol.git",
58+
}
59+
}
60+
```

README.md.meta

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)