// Go to Entry table first // Then take guest to table // First gudie for guest // Middle gudie to table with guest public void Guidance2Table(GuestGroup _guestGroup, Table emptyTable) { emptyTable.isUsing = true; isBusy = true; //GoToSocketAndUse (StaffM.self.entryTable); _guestGroup.TakeTable(emptyTable); isBusy = false; }
public void SitGroup(GuestGroup guestGroup) { isUsing = true; int smallValue = Mathf.Min(chairs.Length, guestGroup.guestList.Count); for (int i = 0; i < smallValue; i++) { chairs [i].Use(guestGroup.guestList [i]); } }
// Called by GuestGroup public void AddEntryWaitingGuestGroup(GuestGroup guestGroup) { cakeslice.OutlineAnimation.self.SetActive(true); entryWaitingGuestGroup.Enqueue(new EntryWaitingGuestGroup(guestGroup)); NoticeM.UseNotice(ScriptM.guestHere, EntryTable.self.transform.position); // Call Staff to EntryTable StaffM.self.CallStaffForGuidance2Table(new WaitingGuestGroup(guestGroup, RequestType.Table)); }
public WaitingGuestGroup(GuestGroup guestGroup, RequestType requestType) { this.guestGroup = guestGroup; this.requestType = requestType; }
protected new void Start() { base.Start(); belongGroup = transform.GetComponentInParent <GuestGroup> (); state = GuestState.JoinAndWait; }
public EntryWaitingGuestGroup(GuestGroup _guestGroup) { guestGroup = _guestGroup; }