void Start() { startSpeed = speed; player = transform.parent.GetComponent <PlayerMoveQueueing>(); }
void Start() { rbody = GetComponent <Rigidbody>(); playerScript = GameObject.FindWithTag("Player").GetComponent <PlayerMoveQueueing>(); //startSpeed=rbody.velocity; }