Exemplo n.º 1
0
 // Start is called before the first frame update
 void Start()
 {
     m_shooting            = GetComponent <Shooting>();
     m_rotateObject        = GetComponent <RotateObject>();
     m_wanderAiForShooting = GetComponent <WanderAIForShooting>();
     StartCoroutine("CalledUpdateTarget");
 }
Exemplo n.º 2
0
 //public float speed = 3;
 // Start is called before the first frame update
 void Start()
 {
     wanderAIForShooting = turretAI.GetComponent <WanderAIForShooting>();
 }
Exemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     m_shooting = GetComponent <Shooting>();
     m_wanderAI = GetComponent <WanderAIForShooting>();
 }