/// <summary> /// 设置意图 /// </summary> /// <param name="intent"></param> /// <param name="auditType"> 评审类型 1题2色3香4味</param> public void SetIntent(MiniGameCookingIntentEnum intent, int auditType) { this.miniGameCookingIntent = intent; switch (miniGameCookingIntent) { case MiniGameCookingIntentEnum.Idle: break; case MiniGameCookingIntentEnum.GoToAuditTable: SetIntentForGoToAuditTable(); break; case MiniGameCookingIntentEnum.GoToStove: SetIntentForGoToStove(); break; case MiniGameCookingIntentEnum.AutoCooking: SetIntentForAutoCooking(); break; case MiniGameCookingIntentEnum.CookingPre: SetIntentForCookingPre(); break; case MiniGameCookingIntentEnum.CookingMaking: SetIntentForCookingMaking(); break; case MiniGameCookingIntentEnum.CookingEnd: SetIntentForCookingEnd(); break; case MiniGameCookingIntentEnum.GoToAudit: SetIntentForGoToAudit(); break; case MiniGameCookingIntentEnum.EatFood: SetIntentForEatFood(); break; case MiniGameCookingIntentEnum.AuditFood: SetIntentForAuditFood(auditType); break; } }
public void SetIntent(MiniGameCookingIntentEnum intent) { SetIntent(intent, 0); }