private void Start() { GameObject player = GameObject.FindWithTag("Player"); playerController = player.GetComponent <PlayerController>(); playerRigid = player.GetComponent <Rigidbody>(); ninjaVisual = FindObjectOfType <NinjaVisualController>(); }
private void Start() { GameObject player = GameObject.FindWithTag("Player"); playerController = player.GetComponent <PlayerController>(); playerRigid = player.GetComponent <Rigidbody>(); ninjaVisual = FindObjectOfType <NinjaVisualController>(); }