示例#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());
        }
示例#2
0
 public void OnDefineIntakeButtonClicked()
 {
     StateMachine.SceneGlobal.PushState(new DefineNodeState(dpmRobot.GetDriverPractice(FieldDataHandler.gamepieces[gamepieceIndex]), dpmRobot.transform, true, dpmRobot), true);
 }