예제 #1
0
 // Use this for initialization
 void Start()
 {
     gm = GameObject.FindObjectOfType <GameManager>();
     turretController = GetComponent <turretController>();
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     turCorntroller = GetComponent <turretController>();
     turShoot       = GetComponent <turretShooter>();
 }