void Start() { cat_Controller = Cat.GetComponent <Cat_Controller>(); score_controller = Score.GetComponent <Score_Controller>(); Variable = GameObject.Find("Variable_Controller"); variable = Variable.GetComponent <Variable_Controller>(); }
void Start() { variable = Variable.GetComponent <Variable_Controller>(); score_controller = score.GetComponent <Score_Controller>(); rigid = GetComponent <Rigidbody2D>(); anim = GetComponent <Animator>(); }
void Start() { highScore = PlayerPrefs.GetInt("HighScore"); variable = Variable.GetComponent <Variable_Controller>(); score = 0; increase = false; }
void Start() { variable = Variable.GetComponent <Variable_Controller>(); }