C# Class childControl, Bad-monsters

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

Public Properties

Property Type Description
currentState states
dispatchOnce bool
pointToMove Transform
pointsOfInterests Transform[]
scaryLevel int
speed float
timeOfInteracting float
timeOfSleep float

Public Methods

Method Description
Awake ( ) : void
Flip ( ) : void
OnGUI ( ) : void
OnTriggerEnter2D ( Collider2D other ) : void
Update ( ) : void
findWay ( Transform target ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

Flip() public method

public Flip ( ) : void
return void

OnGUI() public method

public OnGUI ( ) : void
return void

OnTriggerEnter2D() public method

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

Update() public method

public Update ( ) : void
return void

findWay() public method

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

Property Details

currentState public property

public states currentState
return states

dispatchOnce public property

public bool dispatchOnce
return bool

pointToMove public property

public Transform pointToMove
return Transform

pointsOfInterests public property

public Transform[] pointsOfInterests
return Transform[]

scaryLevel public property

public int scaryLevel
return int

speed public property

public float speed
return float

timeOfInteracting public property

public float timeOfInteracting
return float

timeOfSleep public property

public float timeOfSleep
return float