public void TheCannonFires() { var cannon = new CannonFirer(); cannon.fireTheCannon(); Assert.DoesNotThrow(() => cannon.fireTheCannon()); }
void OnEnable() { cannonFirer = GetComponent <CannonFirer>(); }
public static void Main(string[] args) { var firer = new CannonFirer(); firer.fireTheCannon(); }
void OnEnable() { cannonFirer = GetComponent <CannonFirer>(); SceneManager.UnloadSceneAsync(BuildSettings.SplashScreenScene); }