[NAVERWORKS] 1,2,3,4

1. Beer size down
2. Character size down
3. Food now 20count
4. Door On/Off Anime
This commit is contained in:
IDMhan 2024-03-10 17:51:09 +09:00
parent 0a6a42ef2c
commit 68c818c4af
11 changed files with 640 additions and 772 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,13 +17,15 @@ namespace BlueWaterProject
private Vector3 sotUpOriginal = new Vector3(4.17999983f, 8.80000019f, 16.5300007f);
private Vector3 sotUpClose = new Vector3(4.17999983f, 7.05000019f, 14.7799997f);
public GameObject[] sotSteamEff;
private Dictionary<GlobalValue.FoodOnHand, int> ingredientsInPot = new Dictionary<GlobalValue.FoodOnHand, int>();
private Dictionary<GlobalValue.FoodOnHand, int> kingCrabRecipe = new Dictionary<GlobalValue.FoodOnHand, int>
private Dictionary<GlobalValue.FoodOnHand, int> ingredientsInPot = new();
private Dictionary<GlobalValue.FoodOnHand, int> kingCrabRecipe = new()
{
{ GlobalValue.FoodOnHand.ONION, 1 },
{ GlobalValue.FoodOnHand.SCALLION, 1 },
{ GlobalValue.FoodOnHand.TOMATO, 1 }
};
private short maxFood = 20;
public void AddIngredient()
{
@ -44,7 +46,8 @@ namespace BlueWaterProject
player.FoodTransform.gameObject.SetActive(true);
player.FoodOnHand = GlobalValue.FoodOnHand.KING_CRAB;
cookingProcess.fillAmount = 0;
isFoodInSot = false;
maxFood--;
if (maxFood <= 0) isFoodInSot = false;
}
}

View File

@ -127,7 +127,7 @@ namespace BlueWaterProject
{
localScale.x = Mathf.Abs(localScale.x);
//spriteRenderer.sprite = sideSprite;
FoodTransform.localPosition = new Vector3(-0.30f, 0.6f, -0.15f);
FoodTransform.localPosition = new Vector3(-0.30f, 0.274f, -0.15f);
animator.SetBool("IsMoving", true);
}
// 오른쪽
@ -135,21 +135,21 @@ namespace BlueWaterProject
{
localScale.x = -Mathf.Abs(localScale.x);
//spriteRenderer.sprite = sideSprite;
FoodTransform.localPosition = new Vector3(0.30f, 0.6f, -0.15f);
FoodTransform.localPosition = new Vector3(0.30f, 0.274f, -0.15f);
animator.SetBool("IsMoving", true);
}
// 뒤로
else if (movement.z > 0)
{
//spriteRenderer.sprite = backSprite;
FoodTransform.localPosition = new Vector3(0f, 0.6f, 0f);
FoodTransform.localPosition = new Vector3(0f, 0.274f, 0f);
animator.SetBool("IsMoving", true);
}
// 앞으로
else if (movement.z < 0)
{
//spriteRenderer.sprite = frontSprite;
FoodTransform.localPosition = new Vector3(0f, 0.6f, -0.25f);
FoodTransform.localPosition = new Vector3(0f, 0.274f, -0.25f);
animator.SetBool("IsMoving", true);
}
else

View File

@ -48,7 +48,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 600
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
@ -82,6 +82,19 @@ TextureImporter:
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 512
resizeAlgorithm: 0
textureFormat: 12
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1

View File

@ -48,7 +48,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View File

@ -48,7 +48,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View File

@ -48,7 +48,7 @@ TextureImporter:
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spritePixelsToUnits: 512
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1

View File

@ -22,6 +22,9 @@ public class Restaurant : MonoBehaviour
{
light.SetActive(true);
}
var door = mainDoor.GetComponent<WW_Door>();
door._animator.SetBool("Open", true);
}
else
{
@ -32,6 +35,9 @@ public class Restaurant : MonoBehaviour
{
light.SetActive(false);
}
var door = mainDoor.GetComponent<WW_Door>();
door._animator.SetBool("Open", false);
}
}
}

View File

@ -12,7 +12,7 @@
"com.unity.collab-proxy": "2.2.0",
"com.unity.feature.2d": "2.0.0",
"com.unity.feature.worldbuilding": "1.0.1",
"com.unity.ide.rider": "3.0.27",
"com.unity.ide.rider": "3.0.28",
"com.unity.ide.visualstudio": "2.0.22",
"com.unity.inputsystem": "1.7.0",
"com.unity.postprocessing": "3.3.0",

View File

@ -246,7 +246,7 @@
"url": "https://packages.unity.com"
},
"com.unity.ide.rider": {
"version": "3.0.27",
"version": "3.0.28",
"depth": 0,
"source": "registry",
"dependencies": {