// Start is called before the first frame update void Start() { UpdateSorce(); _rigitbody = GetComponent <Rigidbody2D>(); Animator = GetComponent <Animator>(); transform.position = checkpointManager.GetCurrentSpawnpoint().position; }
// Start is called before the first frame update void Start() { UpdateSorce(); _rigitbody = GetComponent <Rigidbody2D>(); Animator = GetComponent <Animator>(); transform.position = checkpointManager.GetCurrentSpawnpoint().position; }