#51 Revoke Npc MotionSick System And MaxValue 100 -> 300 (30Sec)
This commit is contained in:
parent
a82255ee81
commit
851911ce39
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -13,7 +13,7 @@ namespace BlueWaterProject.Type
|
|||||||
private Transform visaualLook;
|
private Transform visaualLook;
|
||||||
|
|
||||||
[Title("Nature")]
|
[Title("Nature")]
|
||||||
public float MotionSickValue { get; set; } //멀미
|
public float MotionSickValue { get; set; } //멀미 //motionSickValue가 1초당 10씩 증가
|
||||||
private float motionSickMaxValue;
|
private float motionSickMaxValue;
|
||||||
private float hungerValue; //배고픔
|
private float hungerValue; //배고픔
|
||||||
private float hungerMaxValue;
|
private float hungerMaxValue;
|
||||||
@ -53,8 +53,6 @@ namespace BlueWaterProject.Type
|
|||||||
{
|
{
|
||||||
base.Update();
|
base.Update();
|
||||||
stateMachine.Update();
|
stateMachine.Update();
|
||||||
|
|
||||||
//motionSickValue가 1초당 10씩 증가
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void LateUpdate()
|
protected override void LateUpdate()
|
||||||
@ -83,7 +81,7 @@ namespace BlueWaterProject.Type
|
|||||||
private void InitNatureValue()
|
private void InitNatureValue()
|
||||||
{
|
{
|
||||||
MotionSickValue = 0;
|
MotionSickValue = 0;
|
||||||
motionSickMaxValue = 100;
|
motionSickMaxValue = 300;
|
||||||
hungerValue = 0;
|
hungerValue = 0;
|
||||||
hungerMaxValue = 100;
|
hungerMaxValue = 100;
|
||||||
diseaseValue = 0;
|
diseaseValue = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user