added crosshair, worked on controls, fixed locals
This commit is contained in:
@@ -104,12 +104,12 @@ namespace Assets.Scripts
|
||||
break;
|
||||
case "SensitivityMouse":
|
||||
if(isIngame){
|
||||
GameObject.Find("Main Camera").GetComponent<PlayerCamera>().mouseSpeed = float.Parse(line.Split(':')[1]);
|
||||
GameObject.Find("Controls").GetComponent<Controls>().mouseSpeed = float.Parse(line.Split(':')[1]);
|
||||
}
|
||||
break;
|
||||
case "SensitivityController":
|
||||
if(isIngame){
|
||||
GameObject.Find("Main Camera").GetComponent<PlayerCamera>().controllerSpeed = float.Parse(line.Split(':')[1]);
|
||||
GameObject.Find("Controls").GetComponent<Controls>().controllerSpeed = float.Parse(line.Split(':')[1]);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user