| @@ -24,7 +24,8 @@ public float BeginFade (int direction) | ||
| fadeDir = direction; | ||
| return (fadeSpeed); | ||
| } | ||
|
|
||
| void OnSceneWasLoaded() | ||
| { | ||
| BeginFade(-1); | ||
| } | ||
| @@ -3,7 +3,7 @@ | ||
|
|
||
| public class gameController : MonoBehaviour | ||
| { | ||
| /* | ||
| public Transform[] spawnPoints; | ||
| public Collider[] spawnTrigger; | ||
| @@ -33,5 +33,5 @@ void Update () | ||
| { | ||
| } | ||
| */ | ||
| } | ||