protected override void SetupSystems() { pickups = PickupManager.Setup(settings.pickups); cameraManager = FindObjectOfType <CameraManager>(); if (cameraManager == null) { cameraManager = Instantiate(prefabs.camera); } level = FindObjectOfType <Level>(); Dbg.LogErrorIf(level == null, "No level found"); if (level != null) { SetupWithLevel(level); } noInputTimer = settings.reloadSceneTime; }
protected override void AtAwake() { Dbg.LogErrorIf(effect == null, this, "{0} was missing an effect", this); }