public float amp = 14; // arbitrary max movement, set for each one manually (terrible, i know) void Start() { astro = GameObject.FindObjectOfType <Player>(); boss = GameObject.FindObjectOfType <MazeMgr>(); speed = Random.Range(2.0f, 9.0f); startPosition = transform.position; }
void Start() { m = GameObject.FindObjectOfType <MazeMgr>(); blocktext = GetComponent <Text>(); nblocks = 0; lost = false; putLocation = new Vector3(-55, -3, 3); }
void Start() { astro = GameObject.FindObjectOfType <Player>(); boss = GameObject.FindObjectOfType <MazeMgr>(); b_dude = GameObject.FindObjectOfType <BlockMgr>(); startPosition = transform.position; origStart = transform.position; }
void Start() { boss = GameObject.FindObjectOfType <MazeMgr>(); timertext = GetComponent <Text>(); timer = GetInitialTime(); }