Exemplo n.º 1
0
    // 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);
    }
Exemplo n.º 2
0
    // 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);
    }
Exemplo n.º 3
0
 // Use this for initialization
 void Start()
 {
     frogTongue = GetComponentInParent<FrogTongue>();
     c = gameObject.GetComponent<Collider2D>();
 }
Exemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     frogTongue = GetComponentInParent <FrogTongue>();
     c          = gameObject.GetComponent <Collider2D>();
 }