void Start() { controller = GetComponent <ObjectStuff>(); animator = GetComponent <Animator>(); gameController = GameObject.Find("GameController"); gameController.GetComponent <GameController>().setStartValue(health); }
void Start() { controller = GetComponent <ObjectStuff>(); animator = gameObject.GetComponent <Animator>(); gameController = GameObject.Find("GameController"); }