// Use this for initialization void Start() { rb = GetComponent <Rigidbody>(); anim = GetComponent <Animator>(); anim.speed = moveData.MoveSpeed(); projectileSpawnTimer = 0f; previousWeapon = weapon; newWeapon = false; }
// Use this for initialization void Start() { anim = GetComponent <Animator>(); anim.speed = moveData.MoveSpeed(); projectileSpawnTimer = 0f; }