File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -618,8 +618,8 @@ def _add_menu_scene(dir_helper):
618
618
619
619
620
620
def _add_automated_test_runner (dir_helper ):
621
- """Copies automated_testpp ."""
622
- logging .info ("Adding automated_testpp to sample..." )
621
+ """Copies automated_testapp ."""
622
+ logging .info ("Adding automated_testapp to sample..." )
623
623
shutil .copy (
624
624
os .path .join (dir_helper .builder_dir , "automated_testapp" , "AutomatedTestRunner.cs" ),
625
625
os .path .join (dir_helper .unity_project_sample_dir , "AutomatedTestRunner.cs" ))
Original file line number Diff line number Diff line change
1
+ // Copyright 2021 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
1
15
using System ;
2
16
using UnityEngine ;
3
17
@@ -7,8 +21,8 @@ public sealed class SceneLoader : MonoBehaviour {
7
21
const string MANUAL = "MainScene" ;
8
22
const string AUTOMATIC = "MainSceneAutomated" ;
9
23
10
- // After loading this scene, the automated scene will be loaded by default
11
- // after this many seconds.
24
+ // After loading this scene, the user can select to load manual or automated scene
25
+ // After this many seconds, the automated scene will be loaded by default
12
26
const float TIMEOUT = 6f ;
13
27
14
28
float secondsUntilTimeout ;
You can’t perform that action at this time.
0 commit comments