Ejemplo n.º 1
0
 public void Start()
 {
     fireCommand = gameObject.GetComponent<FireCommand> ();
     objectFire = fireCommand.objectFire.GetComponent<BubbleObj>();
     gameController = GameController.Instance ();
     actualBubble = GameObject.FindGameObjectWithTag ("ActualBubble").GetComponent<BubbleObj>();
     nextBubble = GameObject.FindGameObjectWithTag ("NextBubble").GetComponent<BubbleObj>();
     actualBubble.bubbleColor = Enums.getRandomBubbleColor ();
     nextBubble.bubbleColor = Enums.getRandomBubbleColor ();
 }
Ejemplo n.º 2
0
 public void addVisible(BubbleObj a)
 {
     visibles.Add (a);
 }