Nostalgia  2.1.5
TileCircleCollider Class Reference

Circle型のTileCollider More...

Inheritance diagram for TileCircleCollider:
TileCollider< CircleCollider2D >

Public Member Functions

override bool IsUpdateCollider (Collider2D collider, Vector2 cellPos)
 コライダーの更新が必要か判定する More...
 

Public Attributes

float radius = 0.5f
 半径 More...
 

Protected Member Functions

override bool UpdateColliderProperty (Collider2D collider)
 
- Protected Member Functions inherited from TileCollider< CircleCollider2D >
override System.Type GetRequireColliderType ()
 要求するCollider2Dの型を取得する。 More...
 

Detailed Description

Circle型のTileCollider

Member Function Documentation

override bool IsUpdateCollider ( Collider2D  collider,
Vector2  cellPos 
)

コライダーの更新が必要か判定する

Parameters
colliderCollider
cellPosCellの位置
Returns
更新が必要ならtrue
override bool UpdateColliderProperty ( Collider2D  collider)
protected

Member Data Documentation

float radius = 0.5f

半径