Struct BoundsData
Assembly: cs.temp.dll.dll
Syntax
[Serializable]
public struct BoundsData
Constructors
BoundsData(Collider2D)
Declaration
public BoundsData(Collider2D collider2D)
Parameters
Type |
Name |
Description |
Collider2D |
collider2D |
|
Fields
Bounds
Declaration
Field Value
Properties
BottomCenter
Declaration
public readonly Vector2 BottomCenter { get; }
Property Value
BottomLeft
Declaration
public readonly Vector2 BottomLeft { get; }
Property Value
BottomRight
Declaration
public readonly Vector2 BottomRight { get; }
Property Value
MiddleCenter
Declaration
public readonly Vector2 MiddleCenter { get; }
Property Value
MiddleLeft
Declaration
public readonly Vector2 MiddleLeft { get; }
Property Value
MiddleRight
Declaration
public readonly Vector2 MiddleRight { get; }
Property Value
TopCenter
Declaration
public readonly Vector2 TopCenter { get; }
Property Value
TopLeft
Declaration
public readonly Vector2 TopLeft { get; }
Property Value
TopRight
Declaration
public readonly Vector2 TopRight { get; }
Property Value
Methods
UpdateBounds(Collider2D)
Declaration
public void UpdateBounds(Collider2D collider2D)
Parameters
Type |
Name |
Description |
Collider2D |
collider2D |
|