//private int count; void Start() { player = GameObject.FindWithTag("Player").GetComponent <knightControls>(); //count = 0; //CountText.text = count.ToString (); }
// Use this for initialization void Start() { player = GameObject.FindWithTag("Player").GetComponent <knightControls>(); }