C# Class GridEntity_BHV, PieceOfTreasure-OneGame10.15

Inheritance: MonoBehaviour
Mostra file Open project: FellowshipOfTheGame/PieceOfTreasure-OneGame10.15 Class Usage Examples

Public Properties

Property Type Description
inicialLookDirection Direction,
initialGridPosition Vector2
isCollider bool
locationDepth float

Protected Properties

Property Type Description
animatorReference Animator
gridMapReference GameMapController,
gridPosition Vector2

Public Methods

Method Description
ToVector2 ( Direction, direction ) : Vector2

Protected Methods

Method Description
AnimateTurnDirection ( Direction, dir ) : void
Start ( ) : void

Method Details

AnimateTurnDirection() protected method

protected AnimateTurnDirection ( Direction, dir ) : void
dir Direction,
return void

Start() protected method

protected Start ( ) : void
return void

ToVector2() public method

public ToVector2 ( Direction, direction ) : Vector2
direction Direction,
return Vector2

Property Details

animatorReference protected_oe property

protected Animator animatorReference
return Animator

gridMapReference protected_oe property

protected GameMapController, gridMapReference
return GameMapController,

gridPosition protected_oe property

protected Vector2 gridPosition
return Vector2

inicialLookDirection public_oe property

public Direction, inicialLookDirection
return Direction,

initialGridPosition public_oe property

public Vector2 initialGridPosition
return Vector2

isCollider public_oe property

public bool isCollider
return bool

locationDepth public_oe property

public float locationDepth
return float