Exemple #1
0
 // 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);
 }
Exemple #3
0
 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);
 }