void Start() { health = GetComponent<Text>(); GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); health.text = _varCont.TardisHealth.ToString(); }
void Start() { GameObject theGround = GameObject.Find("Ground"); varCont = theGround.GetComponent<variableControl>(); InvokeRepeating("SpawnCycle", 5.0F, varCont.spawnSpeed); Invoke("SpawnDalek", 2F); }
void Start() { _timeyPoints = GetComponent<Text>(); GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); _timeyPoints.text = _varCont._timeyPoints.ToString(); }
void Start() { GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); _pewPew = GetComponent<AudioSource>(); _shooting = false; }
// Use this for initialization void Start() { NavMeshAgent dalekNavAgent = GetComponent<NavMeshAgent>(); dalekNavAgent.destination = GameObject.Find ("Tardis").transform.position; GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); dalekNavAgent.speed = _varCont._dalekSpeed; }
void Start() { GameObject theGround = GameObject.Find("Ground"); varCont = theGround.GetComponent<variableControl>(); _towerHealth = varCont.TowerHealth; }
// Send the timey wimey on its way void Start() { GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); thrust = _varCont._timeySpeed; }
void Start() { GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); }
void Start() { GameObject theGround = GameObject.Find("Ground"); _varCont = theGround.GetComponent<variableControl>(); _dalekInstanceHealth = _varCont.dalekHealth; }