Ejemplo n.º 1
0
 void Awake()
 {
     heroStrong          = FindObjectOfType <HeroA>();
     heroFast            = FindObjectOfType <HeroB>();
     SelectionBoxCurrent = SelectionBox1;
     defaultColor        = SelectionBox1.GetComponent <Renderer>().material.color;
     colorsPuzzle        = this.GetComponent <ColorsPuzzle>();
 }
Ejemplo n.º 2
0
 void Awake ()
 {
     heroStrong = FindObjectOfType<HeroA>();
     heroFast = FindObjectOfType<HeroB>();
     SelectionBoxCurrent = SelectionBox1;
     defaultColor = SelectionBox1.GetComponent<Renderer>().material.color;
     colorsPuzzle = this.GetComponent<ColorsPuzzle>();
 }
Ejemplo n.º 3
0
        public void ReBuild()
        {
            if (game.board == null)
            {
                return;
            }

            boardC.ReBuild();

            AHand.ReBuild();
            BHand.ReBuild();

            HeroA.Refresh();
            HeroB.Refresh();

            endButt.Refresh();
        }
Ejemplo n.º 4
0
 void Awake()
 {
     heroStrong       = FindObjectOfType <HeroA>();
     heroFast         = FindObjectOfType <HeroB>();
     puzzleController = this.GetComponent <PuzzleController>();
 }
Ejemplo n.º 5
0
 void Awake()
 {
     heroStrong = FindObjectOfType<HeroA>();
     heroFast = FindObjectOfType<HeroB>();
     puzzleController = this.GetComponent<PuzzleController>();
 }