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