Skip to content

Commit a6a79c1

Browse files
committed
Updated README.md
1 parent 268874b commit a6a79c1

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

Gifs~/banner.png

33.1 KB
Loading

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Raycast Visualization
1+
![Banner](./Gifs~/banner.png)
2+
23
This asset allows users to view raycasts as the user fires them.
34

45
Supports both the 2D and 3D api.
@@ -11,6 +12,7 @@ To get a visual to show up for a physics call simply do the following:
1112

1213
#### For 2D:
1314
- Replace `Physics2D.` with `VisualPhysics2D.`.
15+
- Some 2D functions rely more on a 3D perspective in the editor depending on the orientation of the casts.
1416

1517
## Installation
1618
#### Using Unity Package Manager
@@ -26,7 +28,7 @@ The user options are located under `Edit/Preferences/RaycastVisualization`
2628

2729
## Examples
2830
<details>
29-
<summary>3D API</summary>
31+
<summary>3D API (click to expand)</summary>
3032

3133
#### Raycast / Linecast
3234
<img src="./Gifs~/3d/raycast.gif" alt="raycast" width="750"/>
@@ -78,7 +80,7 @@ The user options are located under `Edit/Preferences/RaycastVisualization`
7880
</details>
7981

8082
<details>
81-
<summary>2D API</summary>
83+
<summary>2D API (click to expand)</summary>
8284

8385
#### Raycast
8486
<img src="./Gifs~/2d/raycast.gif" alt="raycast" width="750"/>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "com.nomnom.raycast-visualization",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"displayName": "Nomnom's Raycast Visualization",
55
"description": "This asset allows users to view debug visuals for all raycast methods.",
66
"unity": "2020.3",

0 commit comments

Comments
 (0)