CapersProject/Assets/02.Scripts/Character/Npc/CustomerVisitInfo.cs
Nam Tae Gun d7010a279b 타이쿤 추가 업데이트 내용
+ 화면 밖에서 손님이 요구하는 중일 때, Indicator를 통해서 Ui 표시
+ Open, Closed Ui 추가 및 기능 연결
+ 테이블 찾는 로직 변경 (전부 랜덤) - 기존에는 항상 같은 순서로 자리를 채움
+ 통계용 데이터 CustomerVisitInfo 추가 (추후에 통계Ui 생길 때 연결)
+ 대화 조건 변경
+ 일부 가구들 상호작용 조건 변경

+ Outline shader Render Face(Front -> Both 변경 - Front면 x축 뒤집는 경우 안나옴)
+ GraphicMaterialOverride를 사용하는 경우, 에디터에서 전체화면 등 특정 상황에서 material이 사라지는 버그 수정
+ InteractionFuniture Open, Closed 공통 기능으로 병합
2024-07-22 09:42:29 +09:00

29 lines
767 B
C#

using System;
using UnityEngine;
namespace BlueWater.Npcs.Customers
{
[Serializable]
public class CustomerVisitInfo
{
[field: SerializeField]
public int HappyPoint { get; private set; }
[field: SerializeField]
public int FoodPrice { get; private set; }
[field: SerializeField]
public int TipAmount { get; private set; }
[field: SerializeField]
public int PaidAmount { get; private set; }
public CustomerVisitInfo(int happyPoint, int foodPrice, int tipAmount, int paidAmount)
{
HappyPoint = happyPoint;
FoodPrice = foodPrice;
TipAmount = tipAmount;
PaidAmount = paidAmount;
}
}
}