public IEnumerator UpdateFOVNullCamera() { FOVKickClass kick = new FOVKickClass { newFOV = 70 }; kick.INTERNAL__UpdateNewFOV(); Assert.AreEqual(kick.newFOV, 70); yield return(null); }
public IEnumerator UpdateFOVNullCamera() { player.Camera.TargetCamera = null; FOVKickClass kick = new FOVKickClass { newFOV = 70, PlayerController = player }; kick.INTERNAL__UpdateNewFOV(); Assert.AreEqual(kick.newFOV, 70); yield return(null); }