// Update is called once per frame void Update() { if (Input.GetKey(KeyCode.Return) && !keyPushFlag) { scWrpScn.FadeOutStart(0, 0, 0, 0, CsNormalLevelDesignOfCommon.SCENES_STAGE); this.keyPushFlag = true; } }
void OnCollisionEnter(Collision col) { scOprPlyer.OparationDisableSwitch(); scTimer.TimerDisableSwitch(); scWrpScn.FadeOutStart(CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_ALPHA_LEVEL_MAX, CsNormalLevelDesignOfCommon.SCENES_RESULT); }
private void OnTriggerEnter(Collider other) { scOprPlyer.OparationDisableSwitch(); scTimer.TimerDisableSwitch(); scWrpScn.FadeOutStart(CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_COLOR_LEVEL_MIN, CsNormalLevelDesignOfCommon.IMAGE_ALPHA_LEVEL_MAX, CsNormalLevelDesignOfCommon.SCENES_GAMEOVER); }