Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     m_moving = GetComponent<MovingBehaviour>();
     m_pathFindingBehaviour = GetComponent<MapPathFindingBehaviour>();
     m_animCtrl = GetComponent<DirectionalAnimation>();
     m_pathFindingBehaviour.TargetPos = transform.position;
 }
Exemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     m_fAngOff = 360f * Random.value;
     m_player = GameObject.FindGameObjectWithTag("Player");
     m_moving = GetComponent<MovingBehaviour>();
     m_phyChar = GetComponent<PhysicCharBehaviour>();
     m_pathFindingBehaviour = GetComponent<MapPathFindingBehaviour>();
     m_animCtrl = GetComponent<DirectionalAnimation>();
 }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     m_sprRender = GetComponentInChildren<SpriteRenderer>();
     m_movingBehaviour = GetComponent<MovingBehaviour>();
 }
Exemplo n.º 4
0
 protected void Start()
 {
     m_movingBehavior = GetComponent <MovingBehaviour>();
 }
Exemplo n.º 5
0
 // Use this for initialization
 protected void Start()
 {
     m_movingBehavior = GetComponent <MovingBehaviour>();
     Path             = new LinkedList <IPathNode>();
 }
Exemplo n.º 6
0
 // Use this for initialization
 void Start()
 {
     m_sprRender       = GetComponentInChildren <SpriteRenderer>();
     m_movingBehaviour = GetComponent <MovingBehaviour>();
 }
 // Use this for initialization
 protected void Start()
 {
     m_movingBehavior = GetComponent<MovingBehaviour>();
     Path = new LinkedList<IPathNode>();
 }