// Use this for initialization void Start() { m_moving = GetComponent<MovingBehaviour>(); m_pathFindingBehaviour = GetComponent<MapPathFindingBehaviour>(); m_animCtrl = GetComponent<DirectionalAnimation>(); m_pathFindingBehaviour.TargetPos = transform.position; }
// 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>(); }
// Use this for initialization void Start() { m_sprRender = GetComponentInChildren<SpriteRenderer>(); m_movingBehaviour = GetComponent<MovingBehaviour>(); }
protected void Start() { m_movingBehavior = GetComponent <MovingBehaviour>(); }
// Use this for initialization protected void Start() { m_movingBehavior = GetComponent <MovingBehaviour>(); Path = new LinkedList <IPathNode>(); }
// 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>(); }