Example #1
0
    // Start is called before the first frame update
    void Start()
    {
        aiRigidbody  = GetComponent <Rigidbody>();
        ai_DNA       = GetComponent <ZombieKnight_AI_DNA>();
        aiController = GetComponent <ZombieKnightAIController>();

        //TEST
        //carDNA.InitCar(5, 5, 2);
    }
 private void Awake()
 {
     m_Player          = FindObjectOfType <AlessiaController>();
     m_ZombileKnightAI = FindObjectOfType <ZombieKnightAIController>();
 }