private void doChangesWhileRunning() { switch (velLev) { case velocityLevel.level1: if (ball.GetComponent <BallScript>().velocity > velocityLevel1Limit) { velLev = velocityLevel.level2; skyBoxChanger.ChangeSkybox(); } break; case velocityLevel.level2: break; } }
private void Awake() { skyboxChanger.ChangeSkybox(); }
void Awake() { // Skyboxの変更 skyboxChanger.ChangeSkybox(); }