Exemple #1
0
    private void Start()
    {
        //base.Initialize();

        BlackBoard.b_AIs.Add(this);
        m_Movement = GetComponent <AI_Movement>();
        m_Eyes     = GetComponent <AI_Eyes>();
        if (BlackBoard.b_player == null)
        {
            BlackBoard.Init();
        }

        PrevPos = BlackBoard.b_player.transform.position;
        NewPos  = PrevPos;

        CanBeAlertedByAI = true;
    }