public void LogLevelStart(string levelName, Dictionary <string, object> customAttributes = null) { var answersEvent = new LevelStartEvent(); answersEvent.PutLevelName(levelName); answersEvent.PutCustomAttributes(customAttributes); Bindings.AnswersKit.Answers.Instance.LogLevelStart(answersEvent); }
public void OnLevelStart(LevelStartEvent evt) { if (null != renderOnlyDuringNavGeneration) { renderOnlyDuringNavGeneration.SetActive(false); } SetPermeable(false); }
private void OnLevelStart(LevelStartEvent evt) { if (null == _bridgeLinks) { _bridgeLinks = Johny.HashtablePool.Claim(); _allAbilityBridges = new List <AStarPathfindingAbilityBridge>(); _recalculationRequired = false; } _allAbilityBridges.Add(this); Recalculate(); }
public void StartLevel() { Controller.Initialize(new Cooker(pan)); RecipeChecker.CurrentRecipe = Recipe; Input.IsBlocked = false; for (int i = 0; i < Bars.Length; i++) { Bars[i].Initialization(Recipe); } LevelStartEvent?.Invoke(); }
// make sure everything is correct on level start public void OnLevelStart(LevelStartEvent e) { RVOContourObstacle cutObstacle = GetRVOContourObstacle(); cutObstacle.SetObstaclesActive(AStarPathfindingUtils.GetSimulator(), isActive); }
// perform any logic on level start private void OnLevelStart(LevelStartEvent e) { }