Exemplo n.º 1
0
        /// <summary>
        /// Change to intake state
        /// </summary>
        public void OnDefineIntakeButtonClicked()
        {
            StateMachine.SceneGlobal.PushState(new DefineNodeState(dpmRobot.GetDriverPractice(FieldDataHandler.gamepieces[gamepieceIndex]), dpmRobot.transform, true, dpmRobot), true);

            AnalyticsManager.GlobalInstance.LogEventAsync(AnalyticsLedger.EventCatagory.DPMTab,
                                                          AnalyticsLedger.EventAction.Clicked,
                                                          "Define Intake",
                                                          AnalyticsLedger.getMilliseconds().ToString());
        }
Exemplo n.º 2
0
 public void OnDefineIntakeButtonClicked()
 {
     StateMachine.SceneGlobal.PushState(new DefineNodeState(dpmRobot.GetDriverPractice(FieldDataHandler.gamepieces[gamepieceIndex]), dpmRobot.transform, true, dpmRobot), true);
 }