This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
raycasthit2d [2021/05/05 16:53] uninomiconadmin |
raycasthit2d [2021/05/05 16:53] uninomiconadmin |
||
---|---|---|---|
Line 2: | Line 2: | ||
==== Casts Implicitly To a Bool ==== | ==== Casts Implicitly To a Bool ==== | ||
- | |||
RaycastHit2D implements the C# [[https:// | RaycastHit2D implements the C# [[https:// | ||
- | + | ++++ Example | | |
- | ++++ Example: | | + | |
<code c#> | <code c#> | ||
RaycastHit2D hit = Physics2D.Raycast(someStartPoint, | RaycastHit2D hit = Physics2D.Raycast(someStartPoint, |