void Awake() { heroStrong = FindObjectOfType <HeroA>(); heroFast = FindObjectOfType <HeroB>(); SelectionBoxCurrent = SelectionBox1; defaultColor = SelectionBox1.GetComponent <Renderer>().material.color; colorsPuzzle = this.GetComponent <ColorsPuzzle>(); }
void Awake () { heroStrong = FindObjectOfType<HeroA>(); heroFast = FindObjectOfType<HeroB>(); SelectionBoxCurrent = SelectionBox1; defaultColor = SelectionBox1.GetComponent<Renderer>().material.color; colorsPuzzle = this.GetComponent<ColorsPuzzle>(); }
public void ReBuild() { if (game.board == null) { return; } boardC.ReBuild(); AHand.ReBuild(); BHand.ReBuild(); HeroA.Refresh(); HeroB.Refresh(); endButt.Refresh(); }
void Awake() { heroStrong = FindObjectOfType <HeroA>(); heroFast = FindObjectOfType <HeroB>(); puzzleController = this.GetComponent <PuzzleController>(); }
void Awake() { heroStrong = FindObjectOfType<HeroA>(); heroFast = FindObjectOfType<HeroB>(); puzzleController = this.GetComponent<PuzzleController>(); }