private void OnPathDrawingComplete(PathDrawingCompleteEvent e) { if (TestController.testEnvironment) { ResetEnemy(); } }
//private void OnDestroy() //{ // laserEnds[0] = null; // laserEnds[1] = null; //} #endregion #region Event listeners private void OnPathDrawingComplete(PathDrawingCompleteEvent e) { if (TestController.testEnvironment) { laserEnds[0].GetComponent <EnemyLaserEnd>().ResetLaser(); laserEnds[1].GetComponent <EnemyLaserEnd>().ResetLaser(); } }
private void OnPathDrawingComplete(PathDrawingCompleteEvent e) { plottedPoints = e.plottedPoints; plottedTileIDs = e.plottedTileIDs; if (TestController.testEnvironment) { StartTraversal(); } }
private void OnPathDrawingComplete(PathDrawingCompleteEvent e) { if (currentLevelIndex == 0) { playerDialogueObjects[0].dialogueUnits[1].SetActive(false); duckDialogueObjects[0].dialogueUnits[0].SetActive(false); playerDialogueObjects[0].dialogueUnits[2].SetActive(true); Invoke("EnableDuckBubble", 2.0f); } }