// 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); }
// Use this for initialization void Start() { frogTongue = GetComponentInParent<FrogTongue>(); c = gameObject.GetComponent<Collider2D>(); }
// Use this for initialization void Start() { frogTongue = GetComponentInParent <FrogTongue>(); c = gameObject.GetComponent <Collider2D>(); }