C# Class parentControl, Bad-monsters

Inheritance: MonoBehaviour
Mostra file Open project: Gennyi/Bad-monsters

Public Properties

Property Type Description
currentState states
newPointsOfInterests Transform[]
pathMemory Transform[]
pointMemory int
pointsOfInterests Transform[]
speed float
timeOfInteracting float

Public Methods

Method Description
Awake ( ) : void
Flip ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Update ( ) : void
findPoint ( Vector3 selfPos, string layer, string tag ) : Transform
findWay ( Transform target ) : void

Private Methods

Method Description
getPoint ( ) : Transform

Method Details

Awake() public method

public Awake ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

OnTriggerEnter2D() public method

public OnTriggerEnter2D ( Collider2D other ) : void
other UnityEngine.Collider2D
return void

Update() public method

public Update ( ) : void
return void

findPoint() public static method

public static findPoint ( Vector3 selfPos, string layer, string tag ) : Transform
selfPos Vector3
layer string
tag string
return Transform

findWay() public method

public findWay ( Transform target ) : void
target Transform
return void

Property Details

currentState public_oe property

public states currentState
return states

newPointsOfInterests public_oe property

public Transform[] newPointsOfInterests
return Transform[]

pathMemory public_oe property

public Transform[] pathMemory
return Transform[]

pointMemory public_oe property

public int pointMemory
return int

pointsOfInterests public_oe property

public Transform[] pointsOfInterests
return Transform[]

speed public_oe property

public float speed
return float

timeOfInteracting public_oe property

public float timeOfInteracting
return float