Skip to content

Commit

Permalink
Update: README
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnulusGames committed Feb 3, 2024
1 parent 7dc6297 commit e044ef5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,23 +128,23 @@ If you want to use an existing theme, add the DebugUI uss to the Style Sheets of

### Label

![img](docs/images/example-label.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-label.png" width="400">

```cs
builder.AddLabel("Label");
```

### Button

![img](docs/images/example-button.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-button.png" width="400">

```cs
builder.AddButton("Button", () => Debug.Log("Hello!"));
```

### Field

![img](docs/images/example-field.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-field.png" width="400">

```cs
float floatValue;
Expand All @@ -161,7 +161,7 @@ builder.AddField("Read-Only Field", () => floatValue);
### Slider

![img](docs/images/example-slider.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-slider.png" width="400">

```cs
float floatValue;
Expand All @@ -173,7 +173,7 @@ builder.AddSlider("Slider Int", 0, 100, () => intValue, x => intValue = x);

### Progress Bar

![img](docs/images/example-progress.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-progress.png" width="400">

```cs
float floatValue;
Expand All @@ -183,7 +183,7 @@ builder.AddProgressBar("Progress", 0f, 1f, () => floatValue);

### Image

![img](docs/images/example-image.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-image.png" width="400">

```cs
Texture2D texture2D;
Expand All @@ -199,7 +199,7 @@ builder.AddImage("Dynamic", () => spriteRenderer.sprite);

### Foldout

![img](docs/images/example-foldout.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-foldout.png" width="400">

```cs
float floatValue;
Expand Down
14 changes: 7 additions & 7 deletions README_JA.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,23 +128,23 @@ DebugUIでは、モダンなGUIのスタイルを提供するStyle Sheet (uss)

### Label

![img](docs/images/example-label.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-label.png" width="400">

```cs
builder.AddLabel("Label");
```

### Button

![img](docs/images/example-button.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-button.png" width="400">

```cs
builder.AddButton("Button", () => Debug.Log("Hello!"));
```

### Field

![img](docs/images/example-field.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-field.png" width="400">

```cs
float floatValue;
Expand All @@ -161,7 +161,7 @@ builder.AddField("Read-Only Field", () => floatValue);
### Slider

![img](docs/images/example-slider.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-slider.png" width="400">

```cs
float floatValue;
Expand All @@ -173,7 +173,7 @@ builder.AddSlider("Slider Int", 0, 100, () => intValue, x => intValue = x);

### Progress Bar

![img](docs/images/example-progress.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-progress.png" width="400">

```cs
float floatValue;
Expand All @@ -183,7 +183,7 @@ builder.AddProgressBar("Progress", 0f, 1f, () => floatValue);

### Image

![img](docs/images/example-image.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-image.png" width="400">

```cs
Texture2D texture2D;
Expand All @@ -199,7 +199,7 @@ builder.AddImage("Dynamic", () => spriteRenderer.sprite);

### Foldout

![img](docs/images/example-foldout.png)
<img src="https://github.com/AnnulusGames/DebugUI/blob/main/docs/images/example-foldout.png" width="400">

```cs
float floatValue;
Expand Down

0 comments on commit e044ef5

Please sign in to comment.