Ejemplo 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");
 }
Ejemplo n.º 2
0
 //public float speed = 3;
 // Start is called before the first frame update
 void Start()
 {
     wanderAIForShooting = turretAI.GetComponent <WanderAIForShooting>();
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 void Start()
 {
     m_shooting = GetComponent <Shooting>();
     m_wanderAI = GetComponent <WanderAIForShooting>();
 }