C# Class HoleDetector, Elemental

Inheritance: MonoBehaviour
ファイルを表示 Open project: CodeStrumpet/Elemental

Public Properties

Property Type Description
bounds Vector2
boxHeight float
colliderMesh Transform
debugBoxes bool
debugRaycast bool
frameSkip int
holeDelta float
maxVolcanos int
rayDistance float
res Vector2
volcanoPrefab Transform

Public Methods

Method Description
MoveBox ( Transform box, int layerMask ) : void
OnDrawGizmos ( ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
IsHole ( int x, int y ) : bool
IsWall ( Transform box, Transform other ) : bool

Method Details

MoveBox() public method

public MoveBox ( Transform box, int layerMask ) : void
box Transform
layerMask int
return void

OnDrawGizmos() public method

public OnDrawGizmos ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

bounds public_oe property

public Vector2 bounds
return Vector2

boxHeight public_oe property

public float boxHeight
return float

colliderMesh public_oe property

public Transform colliderMesh
return Transform

debugBoxes public_oe property

public bool debugBoxes
return bool

debugRaycast public_oe property

public bool debugRaycast
return bool

frameSkip public_oe property

public int frameSkip
return int

holeDelta public_oe property

public float holeDelta
return float

maxVolcanos public_oe property

public int maxVolcanos
return int

rayDistance public_oe property

public float rayDistance
return float

res public_oe property

public Vector2 res
return Vector2

volcanoPrefab public_oe property

public Transform volcanoPrefab
return Transform