void Start() { bossController = GameObject.Find("Boss controller").GetComponent<BossController>(); rangeScript = GetComponentInChildren<RangeAngle>(); currentPoint = points[startPoint]; pointSelection = startPoint; autostart = false; }
void Start() { bossController = GameObject.Find("Boss controller").GetComponent <BossController>(); rangeScript = GetComponentInChildren <RangeAngle>(); currentPoint = points[startPoint]; pointSelection = startPoint; autostart = false; }
// Use this for initialization void Awake() { rangeAngle = GameObject.Find("Range").GetComponent <RangeAngle>(); frogTongue = GameObject.Find("Tongue").GetComponent <FrogTongue>(); wave = 0; activeMonsterCount = 0; colorSelection.Add(Color.green); colorSelection.Add(Color.red); colorSelection.Add(Color.yellow); colorSelection.Add(Color.blue); colorSelection.Add(Color.cyan); colorSelection.Add(Color.magenta); }
// Use this for initialization void Awake() { rangeAngle = GameObject.Find("Range").GetComponent<RangeAngle>(); frogTongue = GameObject.Find("Tongue").GetComponent<FrogTongue>(); wave = 0; activeMonsterCount = 0; colorSelection.Add (Color.green); colorSelection.Add (Color.red); colorSelection.Add (Color.yellow); colorSelection.Add (Color.blue); colorSelection.Add (Color.cyan); colorSelection.Add (Color.magenta); }