Nostalgia  2.1.5
TileCircleCollider Class Reference

Circle type of tile collider More...

Inheritance diagram for TileCircleCollider:
TileCollider< CircleCollider2D >

Public Member Functions

override bool IsUpdateCollider (Collider2D collider, Vector2 cellPos)
 Determines whether the need to update the collider More...
 

Public Attributes

float radius = 0.5f
 radius More...
 

Protected Member Functions

override bool UpdateColliderProperty (Collider2D collider)
 
- Protected Member Functions inherited from TileCollider< CircleCollider2D >
override System.Type GetRequireColliderType ()
 Get the type of request to Collider2D. More...
 

Detailed Description

Circle type of tile collider

Member Function Documentation

override bool IsUpdateCollider ( Collider2D  collider,
Vector2  cellPos 
)

Determines whether the need to update the collider

Parameters
colliderCollider
cellPosCell position
Returns
If you need update true
override bool UpdateColliderProperty ( Collider2D  collider)
protected

Member Data Documentation

float radius = 0.5f

radius