コード例 #1
0
 public static void SetEnemyEncounter(EnemyEncounter ee)
 {
     currentEncounter = ee;
     gm.restartPoint  = currentEncounter.restartPoint.position;
     prevHealth       = pc.GetHealth();
     prevEdge         = pc.GetEdge();
 }
コード例 #2
0
 void Update()
 {
     if (enableDebugMenu == true)
     {
         debugMenu.SetActive(true);
     }
     else if (enableDebugMenu == false)
     {
         debugMenu.SetActive(false);
     }
     if (hpScript != null)
     {
         hpScript.health = pc.GetHealth();
         hpScript.edge   = pc.GetEdge();
     }
 }