C# Class parentControl, Bad-monsters

Inheritance: MonoBehaviour
Show 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 property

public states currentState
return states

newPointsOfInterests public property

public Transform[] newPointsOfInterests
return Transform[]

pathMemory public property

public Transform[] pathMemory
return Transform[]

pointMemory public property

public int pointMemory
return int

pointsOfInterests public property

public Transform[] pointsOfInterests
return Transform[]

speed public property

public float speed
return float

timeOfInteracting public property

public float timeOfInteracting
return float