so in my game i was making a bolt movement system and its saying that there is a variable speed here's a pic
You will need to post your code here. And please, use code tags when posting your code so it will be a lot easier for someone to look at it.
Why do I get the following errors? CS1003, CS1513, CS1022 This is the script: using System.Collections; using System.Collections.Generic; using UnityEngine; public class RespawnLvl3 : MonoBehaviour; { // Start is called before the first frame update void Start() { public Transform player; public Vector3 spawnPosition; } // Update is called once per frame void Update() { if(player.position.y > 10) { player.position = spawnPosition; } } }
What are you hijacking this thread with a non-relevant question and not even using code-tags? Please use your own threads for questions. Also, those errors are easily found in a quick Google search.
The error is self explanatory - the graph's Get Variable node can't find "speed" variable. The solution is to create the speed variable in Bolt's Variables window.