TrueSync
Main Page
Packages
Classes
Files
File List
TSRaycastHit2D.cs
1
namespace
TrueSync
2
{
3
7
public
class
TSRaycastHit2D
{
8
9
public
TSCollider2D
collider;
10
11
public
TSRigidBody2D
rigidbody;
12
13
public
TSTransform2D
transform;
14
15
public
TSRaycastHit2D
(
TSCollider2D
collider) {
16
this.collider = collider;
17
this.rigidbody = collider.GetComponent<
TSRigidBody2D
>();
18
this.transform = collider.GetComponent<
TSTransform2D
>();
19
}
20
21
}
22
23
}
TrueSync.TSTransform2D
A deterministic version of Unity's Transform component for 2D physics.
Definition:
TSTransform2D.cs:9
TrueSync.TSRaycastHit2D
Information about a 2D cast hit.
Definition:
TSRaycastHit2D.cs:7
TrueSync.TSRigidBody2D
Represents a physical 2D rigid body.
Definition:
TSRigidBody2D.cs:10
TrueSync
Definition:
LayerCollisionMatrix.cs:3
TrueSync.TSCollider2D
Abstract collider for 2D shapes.
Definition:
TSCollider2D.cs:11
Generated by
1.8.11