Merge branch 'lmg' of http://gitea.capers.co.kr:3000/capers/CapersRepo into ntg
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 220707b92d9118b428f678148448058a
|
guid: 93be6597eb9d77e47a12d5c2d57241dd
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
externalObjects: {}
|
externalObjects: {}
|
||||||
userData:
|
userData:
|
@ -40,6 +40,11 @@ namespace BlueWater
|
|||||||
// Methods
|
// Methods
|
||||||
#region Methods
|
#region Methods
|
||||||
|
|
||||||
|
public void PlayAnimation(string stateName, int layer = 0)
|
||||||
|
{
|
||||||
|
_animator.Play(stateName, 0);
|
||||||
|
}
|
||||||
|
|
||||||
public void SetAnimationParameter(string parameter, bool value)
|
public void SetAnimationParameter(string parameter, bool value)
|
||||||
{
|
{
|
||||||
if (!_animator) return;
|
if (!_animator) return;
|
||||||
@ -120,6 +125,8 @@ namespace BlueWater
|
|||||||
_animator.speed = 1f;
|
_animator.speed = 1f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -112,6 +112,14 @@ namespace BlueWater.Players.Tycoons
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void OnManual(InputAction.CallbackContext context)
|
||||||
|
{
|
||||||
|
if (context.performed)
|
||||||
|
{
|
||||||
|
TycoonUiManager.Instance.ManualBook.Open(TycoonUiManager.Instance.PopupUiList);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// TycoonUi
|
// TycoonUi
|
||||||
public void OnCancel(InputAction.CallbackContext context)
|
public void OnCancel(InputAction.CallbackContext context)
|
||||||
{
|
{
|
||||||
@ -121,6 +129,14 @@ namespace BlueWater.Players.Tycoons
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void OnCancelManual(InputAction.CallbackContext context)
|
||||||
|
{
|
||||||
|
if (context.performed)
|
||||||
|
{
|
||||||
|
TycoonUiManager.Instance.ManualBook.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Bar
|
// Bar
|
||||||
public void OnPour(InputAction.CallbackContext context)
|
public void OnPour(InputAction.CallbackContext context)
|
||||||
{
|
{
|
||||||
|
@ -92,6 +92,14 @@ namespace BlueWater
|
|||||||
OnLevelUp?.Invoke(levelData);
|
OnLevelUp?.Invoke(levelData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 플레이어
|
||||||
|
// 레벨업 업그레이드 ui 표시 이벤트
|
||||||
|
public static Action<LevelData> OnUpgradeUi;
|
||||||
|
public static void InvokeUpgradeUi(LevelData levelData)
|
||||||
|
{
|
||||||
|
OnUpgradeUi?.Invoke(levelData);
|
||||||
|
}
|
||||||
|
|
||||||
// 경험치 변경 이벤트
|
// 경험치 변경 이벤트
|
||||||
public static Action<int> OnChangeExp;
|
public static Action<int> OnChangeExp;
|
||||||
public static void InvokeChangeExp(int addedExp)
|
public static void InvokeChangeExp(int addedExp)
|
||||||
|
@ -28,4 +28,6 @@ namespace BlueWater.Items
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
@ -547,6 +547,15 @@
|
|||||||
"processors": "",
|
"processors": "",
|
||||||
"interactions": "",
|
"interactions": "",
|
||||||
"initialStateCheck": false
|
"initialStateCheck": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Manual",
|
||||||
|
"type": "Button",
|
||||||
|
"id": "ef02b0fe-8d61-4bdb-bd1e-543575b67aa0",
|
||||||
|
"expectedControlType": "",
|
||||||
|
"processors": "",
|
||||||
|
"interactions": "",
|
||||||
|
"initialStateCheck": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bindings": [
|
"bindings": [
|
||||||
@ -626,6 +635,17 @@
|
|||||||
"action": "DevelopKey01",
|
"action": "DevelopKey01",
|
||||||
"isComposite": false,
|
"isComposite": false,
|
||||||
"isPartOfComposite": false
|
"isPartOfComposite": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"id": "2659dfed-88b1-409d-adaf-2ea5c3c6ee2c",
|
||||||
|
"path": "<Keyboard>/q",
|
||||||
|
"interactions": "",
|
||||||
|
"processors": "",
|
||||||
|
"groups": ";Keyboard&Mouse",
|
||||||
|
"action": "Manual",
|
||||||
|
"isComposite": false,
|
||||||
|
"isPartOfComposite": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -641,6 +661,15 @@
|
|||||||
"processors": "",
|
"processors": "",
|
||||||
"interactions": "",
|
"interactions": "",
|
||||||
"initialStateCheck": false
|
"initialStateCheck": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CancelManual",
|
||||||
|
"type": "Button",
|
||||||
|
"id": "c30fb3f3-d280-4b30-af6c-15f7483fd658",
|
||||||
|
"expectedControlType": "",
|
||||||
|
"processors": "",
|
||||||
|
"interactions": "",
|
||||||
|
"initialStateCheck": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bindings": [
|
"bindings": [
|
||||||
@ -654,6 +683,17 @@
|
|||||||
"action": "Cancel",
|
"action": "Cancel",
|
||||||
"isComposite": false,
|
"isComposite": false,
|
||||||
"isPartOfComposite": false
|
"isPartOfComposite": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"id": "3977d80c-8375-41ca-8f34-74a85d855963",
|
||||||
|
"path": "<Keyboard>/q",
|
||||||
|
"interactions": "",
|
||||||
|
"processors": "",
|
||||||
|
"groups": ";Keyboard&Mouse",
|
||||||
|
"action": "CancelManual",
|
||||||
|
"isComposite": false,
|
||||||
|
"isPartOfComposite": false
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -38,12 +38,10 @@ namespace BlueWater
|
|||||||
if (_selectedCard.ContainsKey(cardData.Idx))
|
if (_selectedCard.ContainsKey(cardData.Idx))
|
||||||
{
|
{
|
||||||
_selectedCard[cardData.Idx] += 1;
|
_selectedCard[cardData.Idx] += 1;
|
||||||
Debug.Log(_selectedCard[cardData.Idx]);
|
|
||||||
}
|
}
|
||||||
else // 신규
|
else // 신규
|
||||||
{
|
{
|
||||||
_selectedCard[cardData.Idx] = 1; // TryAdd를 사용하지 않고 대입
|
_selectedCard[cardData.Idx] = 1; // TryAdd를 사용하지 않고 대입
|
||||||
Debug.Log(_selectedCard[cardData.Idx]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -60,7 +58,6 @@ namespace BlueWater
|
|||||||
|
|
||||||
if (levelIdx <= 5)
|
if (levelIdx <= 5)
|
||||||
{
|
{
|
||||||
Debug.Log("<= 5");
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
else if (cardData.Idx.Equals("AddAllLiquid"))
|
else if (cardData.Idx.Equals("AddAllLiquid"))
|
||||||
|
@ -67,6 +67,7 @@ public class TycoonGameOver : MonoBehaviour
|
|||||||
[Button("게임오버 시작")]
|
[Button("게임오버 시작")]
|
||||||
public void GameOver_Start()
|
public void GameOver_Start()
|
||||||
{
|
{
|
||||||
|
gameObject.SetActive(true);
|
||||||
// 코루틴 시작
|
// 코루틴 시작
|
||||||
StartCoroutine(MoveObject());
|
StartCoroutine(MoveObject());
|
||||||
}
|
}
|
||||||
@ -80,7 +81,7 @@ public class TycoonGameOver : MonoBehaviour
|
|||||||
while (timer < shakeDuration)
|
while (timer < shakeDuration)
|
||||||
{
|
{
|
||||||
ShakeObject();
|
ShakeObject();
|
||||||
timer += Time.deltaTime;
|
timer += Time.unscaledDeltaTime;
|
||||||
yield return null; // 다음 프레임까지 대기
|
yield return null; // 다음 프레임까지 대기
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -96,13 +97,13 @@ public class TycoonGameOver : MonoBehaviour
|
|||||||
|
|
||||||
while (timer < fallDuration)
|
while (timer < fallDuration)
|
||||||
{
|
{
|
||||||
elapsedTime += Time.deltaTime;
|
elapsedTime += Time.unscaledDeltaTime;
|
||||||
imageColor.a = Mathf.Clamp01(elapsedTime / fallDuration);
|
imageColor.a = Mathf.Clamp01(elapsedTime / fallDuration);
|
||||||
_text.color = imageColor;
|
_text.color = imageColor;
|
||||||
|
|
||||||
MoveDown();
|
MoveDown();
|
||||||
ShakeObject();
|
ShakeObject();
|
||||||
timer += Time.deltaTime;
|
timer += Time.unscaledDeltaTime;
|
||||||
|
|
||||||
_titleBtn.SetActive(true);
|
_titleBtn.SetActive(true);
|
||||||
_retryBtn.SetActive(true);
|
_retryBtn.SetActive(true);
|
||||||
@ -119,7 +120,7 @@ public class TycoonGameOver : MonoBehaviour
|
|||||||
// 흔들림 구현 함수
|
// 흔들림 구현 함수
|
||||||
void ShakeObject()
|
void ShakeObject()
|
||||||
{
|
{
|
||||||
shakeTimer += Time.deltaTime;
|
shakeTimer += Time.unscaledDeltaTime;
|
||||||
|
|
||||||
// 흔들림 타이머가 주기보다 크면 새로운 흔들림 값을 생성
|
// 흔들림 타이머가 주기보다 크면 새로운 흔들림 값을 생성
|
||||||
if (shakeTimer > shakeInterval)
|
if (shakeTimer > shakeInterval)
|
||||||
@ -143,7 +144,7 @@ public class TycoonGameOver : MonoBehaviour
|
|||||||
void MoveDown()
|
void MoveDown()
|
||||||
{
|
{
|
||||||
// 점점 밑으로 내려가는 부분 (Y 축 감소, anchoredPosition 사용)
|
// 점점 밑으로 내려가는 부분 (Y 축 감소, anchoredPosition 사용)
|
||||||
originalPosition.y -= fallSpeed * Time.deltaTime;
|
originalPosition.y -= fallSpeed * Time.unscaledDeltaTime;
|
||||||
|
|
||||||
// 현재 오브젝트 위치도 업데이트
|
// 현재 오브젝트 위치도 업데이트
|
||||||
_shipRectTransform.anchoredPosition = originalPosition+ shakeOffset;
|
_shipRectTransform.anchoredPosition = originalPosition+ shakeOffset;
|
||||||
|
16
Assets/02.Scripts/Ui/Tycoon/Manual.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using BlueWater.Uis;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class Manual : SwitchActionPopupUi
|
||||||
|
{
|
||||||
|
public override void Open(List<PopupUi> popupUiList)
|
||||||
|
{
|
||||||
|
base.Open(popupUiList);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Close()
|
||||||
|
{
|
||||||
|
base.Close();
|
||||||
|
}
|
||||||
|
}
|
2
Assets/02.Scripts/Ui/Tycoon/Manual.cs.meta
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b8498f6e06512424fb9f91596a3021b0
|
329
Assets/02.Scripts/Ui/Tycoon/ManualBook.cs
Normal file
@ -0,0 +1,329 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using BlueWater;
|
||||||
|
using BlueWater.Items;
|
||||||
|
using BlueWater.Tycoons;
|
||||||
|
using BlueWater.Uis;
|
||||||
|
using ExcelDataReader.Log;
|
||||||
|
using TMPro;
|
||||||
|
using Unity.VisualScripting;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
using Sirenix.OdinInspector;
|
||||||
|
using Spine;
|
||||||
|
using UnityEngine.Android;
|
||||||
|
|
||||||
|
public class ManualBook : SwitchActionPopupUi
|
||||||
|
{
|
||||||
|
private Image _cocktailImage;
|
||||||
|
private TextMeshProUGUI _cocktailName;
|
||||||
|
private GameObject _ingredientSlot1;
|
||||||
|
private GameObject _ingredientSlot2;
|
||||||
|
private GameObject _ingredientSlot3;
|
||||||
|
|
||||||
|
[field: SerializeField, CLabel("메뉴얼 CockTail Prefab")]
|
||||||
|
private ManualCocktailButton _ManualCocktailsPrefabs;
|
||||||
|
|
||||||
|
[field: SerializeField, CLabel("리큐르A 이미지")]
|
||||||
|
private Sprite LiquidA_Sprite;
|
||||||
|
[field: SerializeField, CLabel("리큐르B 이미지")]
|
||||||
|
private Sprite LiquidB_Sprite;
|
||||||
|
[field: SerializeField, CLabel("리큐르C 이미지")]
|
||||||
|
private Sprite LiquidC_Sprite;
|
||||||
|
[field: SerializeField, CLabel("리큐르D 이미지")]
|
||||||
|
private Sprite LiquidD_Sprite;
|
||||||
|
[field: SerializeField, CLabel("리큐르E 이미지")]
|
||||||
|
private Sprite LiquidE_Sprite;
|
||||||
|
[field: SerializeField, CLabel("가니쉬1 이미지")]
|
||||||
|
private Sprite Garnish1_Sprite;
|
||||||
|
[field: SerializeField, CLabel("가니쉬2 이미지")]
|
||||||
|
private Sprite Garnish2_Sprite;
|
||||||
|
|
||||||
|
private struct CocktailsBtn
|
||||||
|
{
|
||||||
|
public CocktailData Cocktail { get; set; }
|
||||||
|
public GameObject CockTailButton { get; set; }
|
||||||
|
public string Idx { get; set; }
|
||||||
|
public string Name { get; set; }
|
||||||
|
public int LiquidA { get; set; }
|
||||||
|
public int LiquidB { get; set; }
|
||||||
|
public int LiquidC { get; set; }
|
||||||
|
public int LiquidD { get; set; }
|
||||||
|
public int LiquidE { get; set; }
|
||||||
|
public int Garnish1 { get; set; }
|
||||||
|
public int Garnish2 { get; set; }
|
||||||
|
public bool Enable { get; set; }
|
||||||
|
|
||||||
|
public int Sibling { get; set; }
|
||||||
|
|
||||||
|
internal CocktailsBtn(CocktailData cocktail,GameObject cockTailButton , string idx , string name )
|
||||||
|
{
|
||||||
|
Cocktail = cocktail;
|
||||||
|
CockTailButton = cockTailButton;
|
||||||
|
Idx = idx;
|
||||||
|
Name = name;
|
||||||
|
LiquidA = 0;
|
||||||
|
LiquidB = 0;
|
||||||
|
LiquidC = 0;
|
||||||
|
LiquidD = 0;
|
||||||
|
LiquidE = 0;
|
||||||
|
Garnish1 = 0;
|
||||||
|
Garnish2 = 0;
|
||||||
|
Sibling = 2048;
|
||||||
|
Enable = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private Dictionary<string,CocktailsBtn> _cocktailsBtn;
|
||||||
|
|
||||||
|
//private List<Button> _cocktailsBtn;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private void Awake()
|
||||||
|
{
|
||||||
|
EventManager.OnLevelUp += UpdateManualBook;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
var book = transform.Find("Book");
|
||||||
|
_cocktailImage = book.Find("CooktailPreview").Find("CocktailImage").GetComponent<Image>();
|
||||||
|
_cocktailName = book.Find("CocktailName").GetComponent<TextMeshProUGUI>();
|
||||||
|
_ingredientSlot1 = book.Find("IngredientSlot1").gameObject;
|
||||||
|
_ingredientSlot2 = book.Find("IngredientSlot2").gameObject;
|
||||||
|
_ingredientSlot3 = book.Find("IngredientSlot3").gameObject;
|
||||||
|
|
||||||
|
_cocktailsBtn = new Dictionary<string,CocktailsBtn>();
|
||||||
|
_cocktailName = book.Find("CocktailName").GetComponent<TextMeshProUGUI>();
|
||||||
|
|
||||||
|
_ingredientSlot1 = book.Find("IngredientSlot1").gameObject;
|
||||||
|
_ingredientSlot2 = book.Find("IngredientSlot2").gameObject;
|
||||||
|
_ingredientSlot3 = book.Find("IngredientSlot3").gameObject;
|
||||||
|
|
||||||
|
// private Image _ingredientSlot1Image;
|
||||||
|
// private Image _ingredientSlot2Image;
|
||||||
|
// private Image _ingredientSlot3Image;
|
||||||
|
|
||||||
|
var allCocktails = ItemManager.Instance.CocktailDataSo.GetData();
|
||||||
|
foreach (var element in allCocktails.Values)
|
||||||
|
{
|
||||||
|
if (element.Idx.Equals("Cocktail000")) continue; //쓰레기는 메뉴얼에 표시하지 않기
|
||||||
|
|
||||||
|
var cocktail = Instantiate(_ManualCocktailsPrefabs, book.Find("CocktailButtons"));
|
||||||
|
cocktail.Initialize(this);
|
||||||
|
cocktail.name = element.Idx;
|
||||||
|
cocktail.transform.Find("Image").GetComponent<Image>().sprite = element.Sprite;
|
||||||
|
|
||||||
|
var createCocktailMenu = new CocktailsBtn(element ,cocktail.gameObject ,element.Idx,element.Name);
|
||||||
|
|
||||||
|
foreach (var element2 in element.ValidIngredients) //들어가는 리큐르, 가니쉬 종류
|
||||||
|
{
|
||||||
|
if (element2.Idx.Equals("LiquidA")) {createCocktailMenu.LiquidA = element2.Ratio; createCocktailMenu.Sibling -= 1; };
|
||||||
|
if (element2.Idx.Equals("LiquidB")) {createCocktailMenu.LiquidB = element2.Amount; createCocktailMenu.Sibling -= 2; };
|
||||||
|
if (element2.Idx.Equals("LiquidC")) {createCocktailMenu.LiquidC = element2.Amount; createCocktailMenu.Sibling -= 4; };
|
||||||
|
if (element2.Idx.Equals("LiquidD")) {createCocktailMenu.LiquidD = element2.Amount; createCocktailMenu.Sibling -= 8; };
|
||||||
|
if (element2.Idx.Equals("LiquidE")) {createCocktailMenu.LiquidE = element2.Amount; createCocktailMenu.Sibling -= 16; };
|
||||||
|
if (element2.Idx.Equals("Garnish1")) {createCocktailMenu.Garnish1 = element2.Amount; createCocktailMenu.Sibling -= 32; };
|
||||||
|
if (element2.Idx.Equals("Garnish2")) {createCocktailMenu.Garnish2 = element2.Amount; createCocktailMenu.Sibling -= 64; };
|
||||||
|
}
|
||||||
|
|
||||||
|
_cocktailsBtn.Add(element.Idx,createCocktailMenu);
|
||||||
|
}
|
||||||
|
|
||||||
|
var sortedCocktails = _cocktailsBtn.OrderByDescending(element => element.Value.Sibling);
|
||||||
|
|
||||||
|
int index = 0;
|
||||||
|
foreach (var element in sortedCocktails)
|
||||||
|
{
|
||||||
|
element.Value.CockTailButton.transform.SetSiblingIndex(index);
|
||||||
|
index++;
|
||||||
|
}
|
||||||
|
|
||||||
|
Update_Cocktails();
|
||||||
|
SelectedItem(_cocktailsBtn["Cocktail001"].CockTailButton.GetComponent<Button>());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Open(List<PopupUi> popupUiList)
|
||||||
|
{
|
||||||
|
base.Open(popupUiList);
|
||||||
|
VisualFeedbackManager.Instance.SetBaseTimeScale(0.0f);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void Close()
|
||||||
|
{
|
||||||
|
base.Close();
|
||||||
|
VisualFeedbackManager.Instance.ResetTimeScale();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Update_Cocktails()
|
||||||
|
{
|
||||||
|
int playerLv = TycoonManager.Instance.TycoonStatus.CurrentLevel;
|
||||||
|
|
||||||
|
bool check = false;
|
||||||
|
|
||||||
|
var keys = _cocktailsBtn.Keys.ToList();
|
||||||
|
|
||||||
|
foreach (var key in keys)
|
||||||
|
{
|
||||||
|
var element = _cocktailsBtn[key];
|
||||||
|
check = false;
|
||||||
|
|
||||||
|
foreach (var element2 in element.Cocktail.ValidIngredients)
|
||||||
|
{
|
||||||
|
if (element2.Idx.Equals("LiquidA")) {};
|
||||||
|
if (element2.Idx.Equals("LiquidB") && playerLv < 5) { check = true; break; }
|
||||||
|
if (element2.Idx.Equals("LiquidC") && playerLv < 10) { check = true; break; }
|
||||||
|
if (element2.Idx.Equals("LiquidD") && playerLv < 15) { check = true; break; }
|
||||||
|
if (element2.Idx.Equals("LiquidE") && playerLv < 20) { check = true; break; }
|
||||||
|
if (element2.Idx.Equals("Garnish1") && playerLv < 25) { check = true; break; }
|
||||||
|
if (element2.Idx.Equals("Garnish2") && playerLv < 30) { check = true; break; }
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!check)
|
||||||
|
{
|
||||||
|
element.CockTailButton.transform.Find("Image").GetComponent<Image>().material = null;
|
||||||
|
element.Enable = true;
|
||||||
|
|
||||||
|
_cocktailsBtn[key] = element;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SelectedItem(Button clickedButton)
|
||||||
|
{
|
||||||
|
Debug.Log(clickedButton.transform.GetSiblingIndex());
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].Enable) //활성화 된 음료만 클릭이 되도록 한다.
|
||||||
|
{
|
||||||
|
_cocktailImage.sprite = clickedButton.transform.Find("Image").GetComponent<Image>().sprite;
|
||||||
|
|
||||||
|
bool slot1 = false;
|
||||||
|
bool slot2 = false;
|
||||||
|
bool slot3 = false;
|
||||||
|
|
||||||
|
GameObject slot()
|
||||||
|
{
|
||||||
|
if (!slot1)
|
||||||
|
{
|
||||||
|
slot1 = true;
|
||||||
|
return _ingredientSlot1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!slot2)
|
||||||
|
{
|
||||||
|
slot2 = true;
|
||||||
|
return _ingredientSlot2;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!slot3)
|
||||||
|
{
|
||||||
|
slot3 = true;
|
||||||
|
return _ingredientSlot3;
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//가니쉬 배치를 처음으로...
|
||||||
|
if (_cocktailsBtn[clickedButton.name].Garnish1 != 0)
|
||||||
|
{
|
||||||
|
_ingredientSlot3.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "Garnish1";
|
||||||
|
_ingredientSlot3.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].Garnish1}%";
|
||||||
|
_ingredientSlot3.transform.Find("IngredientImage").GetComponent<Image>().sprite = Garnish1_Sprite;
|
||||||
|
slot3 = true;
|
||||||
|
}
|
||||||
|
else if (_cocktailsBtn[clickedButton.name].Garnish2 != 0)
|
||||||
|
{
|
||||||
|
_ingredientSlot3.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "Garnish2";
|
||||||
|
_ingredientSlot3.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].Garnish2}%";
|
||||||
|
_ingredientSlot3.transform.Find("IngredientImage").GetComponent<Image>().sprite = Garnish2_Sprite;
|
||||||
|
slot3 = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].LiquidA != 0)
|
||||||
|
{
|
||||||
|
var ingredient = slot();
|
||||||
|
ingredient.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "LiquidA";
|
||||||
|
ingredient.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].LiquidA}%";
|
||||||
|
ingredient.transform.Find("IngredientImage").GetComponent<Image>().sprite = LiquidA_Sprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].LiquidB != 0)
|
||||||
|
{
|
||||||
|
var ingredient = slot();
|
||||||
|
ingredient.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "LiquidB";
|
||||||
|
ingredient.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].LiquidB}%";
|
||||||
|
ingredient.transform.Find("IngredientImage").GetComponent<Image>().sprite = LiquidB_Sprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].LiquidC != 0)
|
||||||
|
{
|
||||||
|
var ingredient = slot();
|
||||||
|
ingredient.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "LiquidC";
|
||||||
|
ingredient.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].LiquidC}%";
|
||||||
|
ingredient.transform.Find("IngredientImage").GetComponent<Image>().sprite = LiquidC_Sprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].LiquidD != 0)
|
||||||
|
{
|
||||||
|
var ingredient = slot();
|
||||||
|
ingredient.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "LiquidD";
|
||||||
|
ingredient.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].LiquidD}%";
|
||||||
|
ingredient.transform.Find("IngredientImage").GetComponent<Image>().sprite = LiquidD_Sprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (_cocktailsBtn[clickedButton.name].LiquidE != 0)
|
||||||
|
{
|
||||||
|
var ingredient = slot();
|
||||||
|
ingredient.transform.Find("IngredientType").GetComponent<TextMeshProUGUI>().text = "LiquidE";
|
||||||
|
ingredient.transform.Find("IngredientPersent").GetComponent<TextMeshProUGUI>().text =
|
||||||
|
$"{_cocktailsBtn[clickedButton.name].LiquidE}%";
|
||||||
|
ingredient.transform.Find("IngredientImage").GetComponent<Image>().sprite = LiquidE_Sprite;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!slot1)
|
||||||
|
{
|
||||||
|
_ingredientSlot1.SetActive(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_ingredientSlot1.SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!slot2)
|
||||||
|
{
|
||||||
|
_ingredientSlot2.SetActive(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_ingredientSlot2.SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!slot3)
|
||||||
|
{
|
||||||
|
_ingredientSlot3.SetActive(false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_ingredientSlot3.SetActive(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void UpdateManualBook(LevelData levelData)
|
||||||
|
{
|
||||||
|
Update_Cocktails();
|
||||||
|
}
|
||||||
|
}
|
2
Assets/02.Scripts/Ui/Tycoon/ManualBook.cs.meta
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8060041d8c8fb244cb07544f18cfb017
|
26
Assets/02.Scripts/Ui/Tycoon/ManualCocktailButton.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class ManualCocktailButton : MonoBehaviour
|
||||||
|
{
|
||||||
|
|
||||||
|
public ManualBook manual; // 다른 스크립트가 붙은 오브젝트를 참조 (에디터에서 설정 가능)
|
||||||
|
private Button button;
|
||||||
|
|
||||||
|
void Start()
|
||||||
|
{
|
||||||
|
button = GetComponent<Button>();
|
||||||
|
button.onClick.AddListener(() => OnButtonClicked());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Initialize(ManualBook manualBook)
|
||||||
|
{
|
||||||
|
manual = manualBook;
|
||||||
|
}
|
||||||
|
|
||||||
|
// 눌린 버튼을 매개변수로 받는 메서드
|
||||||
|
public void OnButtonClicked()
|
||||||
|
{
|
||||||
|
manual.SelectedItem(this.GetComponent<Button>());
|
||||||
|
}
|
||||||
|
}
|
2
Assets/02.Scripts/Ui/Tycoon/ManualCocktailButton.cs.meta
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: b470f74ac4a54bb4fae06d22ecef1c0e
|
@ -147,7 +147,7 @@ public class TycoonCard : MonoBehaviour
|
|||||||
elapsedTime += Time.unscaledDeltaTime;
|
elapsedTime += Time.unscaledDeltaTime;
|
||||||
|
|
||||||
float t = elapsedTime / 0.5f;
|
float t = elapsedTime / 0.5f;
|
||||||
float easedT = easedT = EaseEffect.BounceOut(t);
|
float easedT = EaseEffect.BounceOut(t);
|
||||||
|
|
||||||
_cardComTransform.localScale = Vector3.Lerp(initialScale, new Vector3(0.95f,0.95f,0.95f), easedT);
|
_cardComTransform.localScale = Vector3.Lerp(initialScale, new Vector3(0.95f,0.95f,0.95f), easedT);
|
||||||
|
|
||||||
|
@ -28,6 +28,11 @@ namespace BlueWater.Uis
|
|||||||
|
|
||||||
private LevelData _lvData;
|
private LevelData _lvData;
|
||||||
|
|
||||||
|
|
||||||
|
[field: SerializeField, CLabel("업그레이드_스크립트")]
|
||||||
|
private GameObject _upgradePopup;
|
||||||
|
|
||||||
|
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
EventManager.OnLevelUp += Test;
|
EventManager.OnLevelUp += Test;
|
||||||
@ -296,7 +301,15 @@ namespace BlueWater.Uis
|
|||||||
|
|
||||||
HideUi();
|
HideUi();
|
||||||
|
|
||||||
VisualFeedbackManager.Instance.ResetTimeScale();
|
if (int.Parse(_lvData.Idx) %5 == 0)
|
||||||
|
{
|
||||||
|
_upgradePopup.SetActive(true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
VisualFeedbackManager.Instance.ResetTimeScale();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ShowUi() => _panel.SetActive(true);
|
public void ShowUi() => _panel.SetActive(true);
|
||||||
|
@ -27,6 +27,9 @@ namespace BlueWater.Uis
|
|||||||
[field: SerializeField]
|
[field: SerializeField]
|
||||||
public TycoonStageUi TycoonStageUi { get; private set; }
|
public TycoonStageUi TycoonStageUi { get; private set; }
|
||||||
|
|
||||||
|
[field: SerializeField]
|
||||||
|
public ManualBook ManualBook { get; private set; }
|
||||||
|
|
||||||
// [field: SerializeField]
|
// [field: SerializeField]
|
||||||
// public BrewingUi BrewingUi { get; private set; }
|
// public BrewingUi BrewingUi { get; private set; }
|
||||||
|
|
||||||
@ -81,6 +84,7 @@ namespace BlueWater.Uis
|
|||||||
TycoonManagementUi = GetComponentInChildren<TycoonManagementUi>(true);
|
TycoonManagementUi = GetComponentInChildren<TycoonManagementUi>(true);
|
||||||
TycoonStageUi = GetComponentInChildren<TycoonStageUi>(true);
|
TycoonStageUi = GetComponentInChildren<TycoonStageUi>(true);
|
||||||
//BrewingUi = GetComponentInChildren<BrewingUi>(true);
|
//BrewingUi = GetComponentInChildren<BrewingUi>(true);
|
||||||
|
ManualBook = GetComponentInChildren<ManualBook>(true);
|
||||||
_fadeImage = MainCanvas.transform.Find("FadeImage").GetComponent<Image>();
|
_fadeImage = MainCanvas.transform.Find("FadeImage").GetComponent<Image>();
|
||||||
PopupUiList = new List<PopupUi>(8);
|
PopupUiList = new List<PopupUi>(8);
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,84 @@
|
|||||||
|
using System.Collections;
|
||||||
|
using BlueWater;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class Upgrade_Popup : MonoBehaviour
|
public class Upgrade_Popup : MonoBehaviour
|
||||||
{
|
{
|
||||||
|
[SerializeField]
|
||||||
|
private AnimationController _animationController;
|
||||||
|
private bool isReversing = false; // 애니메이션 상태를 체크할 변수
|
||||||
|
|
||||||
|
[SerializeField]
|
||||||
|
private Image information; //정보를 알려주는 이미지
|
||||||
|
|
||||||
|
|
||||||
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
// Start is called once before the first execution of Update after the MonoBehaviour is created
|
||||||
void Start()
|
void OnEnable()
|
||||||
{
|
{
|
||||||
|
StartCoroutine(StartUpgradePopup());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Update is called once per frame
|
// ReSharper disable Unity.PerformanceAnalysis
|
||||||
void Update()
|
private IEnumerator StartUpgradePopup()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
float timer = 0f;
|
||||||
|
|
||||||
|
while (timer < 1.0f)
|
||||||
|
{
|
||||||
|
timer += Time.unscaledDeltaTime;
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
timer = 0f;
|
||||||
|
|
||||||
|
while (timer < 0.5)
|
||||||
|
{
|
||||||
|
timer += Time.unscaledDeltaTime;
|
||||||
|
|
||||||
|
float t = timer / 0.5f;
|
||||||
|
float easedT = EaseEffect.BounceOut(t);
|
||||||
|
|
||||||
|
information.transform.localScale = Vector3.Lerp( new Vector3(0.0f,0.0f,0.0f), new Vector3(1.0f,1.0f,1.0f), easedT);
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
timer = 0f;
|
||||||
|
|
||||||
|
while (timer < 2.0)
|
||||||
|
{
|
||||||
|
timer += Time.unscaledDeltaTime;
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
timer = 0f;
|
||||||
|
|
||||||
|
while (timer < 0.5)
|
||||||
|
{
|
||||||
|
timer += Time.unscaledDeltaTime;
|
||||||
|
|
||||||
|
float t = timer / 0.5f;
|
||||||
|
float easedT = EaseEffect.BounceOut(t);
|
||||||
|
|
||||||
|
information.transform.localScale = Vector3.Lerp( new Vector3(1.0f,1.0f,1.0f), new Vector3(0.0f,0.0f,0.0f), easedT);
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
_animationController.PlayAnimation("CardUpgrade_Reverse");
|
||||||
|
|
||||||
|
timer = 0f;
|
||||||
|
|
||||||
|
while (timer < 1.0f)
|
||||||
|
{
|
||||||
|
timer += Time.unscaledDeltaTime;
|
||||||
|
yield return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
VisualFeedbackManager.Instance.ResetTimeScale();
|
||||||
|
gameObject.SetActive(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
BIN
Assets/03.Images/Ui/Tycoon/DrinkExplain1.png
Normal file
After Width: | Height: | Size: 5.4 KiB |
117
Assets/03.Images/Ui/Tycoon/DrinkExplain1.png.meta
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2b38d058b599b2543afd724bc86dcabc
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 1024
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/03.Images/Ui/Tycoon/DrinkImage.png
Normal file
After Width: | Height: | Size: 25 KiB |
117
Assets/03.Images/Ui/Tycoon/DrinkImage.png.meta
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7d36d6600733f4346b55afcab0662dc2
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 1024
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/03.Images/Ui/Tycoon/DrinkType1.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
117
Assets/03.Images/Ui/Tycoon/DrinkType1.png.meta
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f80aa7accb1736a41b24c1113c38cbf8
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 1024
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
BIN
Assets/03.Images/Ui/Tycoon/DrinkTypeSelect.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
117
Assets/03.Images/Ui/Tycoon/DrinkTypeSelect.png.meta
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 24924a999dd87694896702594be38e86
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 1024
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
BIN
Assets/03.Images/Ui/Tycoon/ManuFacture.png
Normal file
After Width: | Height: | Size: 439 KiB |
117
Assets/03.Images/Ui/Tycoon/ManuFacture.png.meta
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7ddc8ce7f7259914b8a4974e714da6ee
|
||||||
|
TextureImporter:
|
||||||
|
internalIDToNameTable: []
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 13
|
||||||
|
mipmaps:
|
||||||
|
mipMapMode: 0
|
||||||
|
enableMipMap: 0
|
||||||
|
sRGBTexture: 1
|
||||||
|
linearTexture: 0
|
||||||
|
fadeOut: 0
|
||||||
|
borderMipMap: 0
|
||||||
|
mipMapsPreserveCoverage: 0
|
||||||
|
alphaTestReferenceValue: 0.5
|
||||||
|
mipMapFadeDistanceStart: 1
|
||||||
|
mipMapFadeDistanceEnd: 3
|
||||||
|
bumpmap:
|
||||||
|
convertToNormalMap: 0
|
||||||
|
externalNormalMap: 0
|
||||||
|
heightScale: 0.25
|
||||||
|
normalMapFilter: 0
|
||||||
|
flipGreenChannel: 0
|
||||||
|
isReadable: 0
|
||||||
|
streamingMipmaps: 0
|
||||||
|
streamingMipmapsPriority: 0
|
||||||
|
vTOnly: 0
|
||||||
|
ignoreMipmapLimit: 0
|
||||||
|
grayScaleToAlpha: 0
|
||||||
|
generateCubemap: 6
|
||||||
|
cubemapConvolution: 0
|
||||||
|
seamlessCubemap: 0
|
||||||
|
textureFormat: 1
|
||||||
|
maxTextureSize: 2048
|
||||||
|
textureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
filterMode: 1
|
||||||
|
aniso: 1
|
||||||
|
mipBias: 0
|
||||||
|
wrapU: 1
|
||||||
|
wrapV: 1
|
||||||
|
wrapW: 0
|
||||||
|
nPOTScale: 0
|
||||||
|
lightmap: 0
|
||||||
|
compressionQuality: 50
|
||||||
|
spriteMode: 1
|
||||||
|
spriteExtrude: 1
|
||||||
|
spriteMeshType: 1
|
||||||
|
alignment: 0
|
||||||
|
spritePivot: {x: 0.5, y: 0.5}
|
||||||
|
spritePixelsToUnits: 1024
|
||||||
|
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
spriteGenerateFallbackPhysicsShape: 1
|
||||||
|
alphaUsage: 1
|
||||||
|
alphaIsTransparency: 1
|
||||||
|
spriteTessellationDetail: -1
|
||||||
|
textureType: 8
|
||||||
|
textureShape: 1
|
||||||
|
singleChannelComponent: 0
|
||||||
|
flipbookRows: 1
|
||||||
|
flipbookColumns: 1
|
||||||
|
maxTextureSizeSet: 0
|
||||||
|
compressionQualitySet: 0
|
||||||
|
textureFormatSet: 0
|
||||||
|
ignorePngGamma: 0
|
||||||
|
applyGammaDecoding: 0
|
||||||
|
swizzle: 50462976
|
||||||
|
cookieLightType: 0
|
||||||
|
platformSettings:
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: DefaultTexturePlatform
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
- serializedVersion: 4
|
||||||
|
buildTarget: Standalone
|
||||||
|
maxTextureSize: 2048
|
||||||
|
resizeAlgorithm: 0
|
||||||
|
textureFormat: -1
|
||||||
|
textureCompression: 1
|
||||||
|
compressionQuality: 50
|
||||||
|
crunchedCompression: 0
|
||||||
|
allowsAlphaSplitting: 0
|
||||||
|
overridden: 0
|
||||||
|
ignorePlatformSupport: 0
|
||||||
|
androidETC2FallbackOverride: 0
|
||||||
|
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||||
|
spriteSheet:
|
||||||
|
serializedVersion: 2
|
||||||
|
sprites: []
|
||||||
|
outline: []
|
||||||
|
customData:
|
||||||
|
physicsShape: []
|
||||||
|
bones: []
|
||||||
|
spriteID: 5e97eb03825dee720800000000000000
|
||||||
|
internalID: 0
|
||||||
|
vertices: []
|
||||||
|
indices:
|
||||||
|
edges: []
|
||||||
|
weights: []
|
||||||
|
secondaryTextures: []
|
||||||
|
spriteCustomMetadata:
|
||||||
|
entries: []
|
||||||
|
nameFileIdTable: {}
|
||||||
|
mipmapLimitGroupName:
|
||||||
|
pSDRemoveMatte: 0
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
135
Assets/04.Materials/Grayscale.mat
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: Grayscale
|
||||||
|
m_Shader: {fileID: 4800000, guid: c7d22fc772f669c4ea04352edfbc829b, type: 3}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses:
|
||||||
|
- MOTIONVECTORS
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _BaseMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailAlbedoMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailMask:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _DetailNormalMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _EmissionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MetallicGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OcclusionMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _ParallaxMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _SpecGlossMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_Lightmaps:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_LightmapsInd:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- unity_ShadowMasks:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _AddPrecomputedVelocity: 0
|
||||||
|
- _AlphaClip: 0
|
||||||
|
- _AlphaToMask: 0
|
||||||
|
- _Blend: 0
|
||||||
|
- _BlendModePreserveSpecular: 1
|
||||||
|
- _BumpScale: 1
|
||||||
|
- _ClearCoatMask: 0
|
||||||
|
- _ClearCoatSmoothness: 0
|
||||||
|
- _Cull: 2
|
||||||
|
- _Cutoff: 0.5
|
||||||
|
- _DetailAlbedoMapScale: 1
|
||||||
|
- _DetailNormalMapScale: 1
|
||||||
|
- _DstBlend: 0
|
||||||
|
- _DstBlendAlpha: 0
|
||||||
|
- _EnvironmentReflections: 1
|
||||||
|
- _GlossMapScale: 0
|
||||||
|
- _Glossiness: 0
|
||||||
|
- _GlossyReflections: 0
|
||||||
|
- _Metallic: 0
|
||||||
|
- _OcclusionStrength: 1
|
||||||
|
- _Parallax: 0.005
|
||||||
|
- _QueueOffset: 0
|
||||||
|
- _ReceiveShadows: 1
|
||||||
|
- _Smoothness: 0.5
|
||||||
|
- _SmoothnessTextureChannel: 0
|
||||||
|
- _SpecularHighlights: 1
|
||||||
|
- _SrcBlend: 1
|
||||||
|
- _SrcBlendAlpha: 1
|
||||||
|
- _Surface: 0
|
||||||
|
- _WorkflowMode: 1
|
||||||
|
- _ZWrite: 1
|
||||||
|
m_Colors:
|
||||||
|
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
|
--- !u!114 &6838801980096758212
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 11
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
version: 9
|
8
Assets/04.Materials/Grayscale.mat.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3a05912c0f6e620488206ca5147e771e
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -540,6 +540,38 @@ MonoBehaviour:
|
|||||||
m_CallState: 2
|
m_CallState: 2
|
||||||
m_ActionId: 4752dd64-7a31-42ae-bfc9-45a01927bd07
|
m_ActionId: 4752dd64-7a31-42ae-bfc9-45a01927bd07
|
||||||
m_ActionName: 'Bar/EscapeBar[/Keyboard/escape]'
|
m_ActionName: 'Bar/EscapeBar[/Keyboard/escape]'
|
||||||
|
- m_PersistentCalls:
|
||||||
|
m_Calls:
|
||||||
|
- m_Target: {fileID: 1674052485383758547}
|
||||||
|
m_TargetAssemblyTypeName: BlueWater.Players.Tycoons.TycoonInput, Assembly-CSharp
|
||||||
|
m_MethodName: OnManual
|
||||||
|
m_Mode: 0
|
||||||
|
m_Arguments:
|
||||||
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
m_IntArgument: 0
|
||||||
|
m_FloatArgument: 0
|
||||||
|
m_StringArgument:
|
||||||
|
m_BoolArgument: 0
|
||||||
|
m_CallState: 2
|
||||||
|
m_ActionId: ef02b0fe-8d61-4bdb-bd1e-543575b67aa0
|
||||||
|
m_ActionName: 'Tycoon/Manual[/Keyboard/q]'
|
||||||
|
- m_PersistentCalls:
|
||||||
|
m_Calls:
|
||||||
|
- m_Target: {fileID: 1674052485383758547}
|
||||||
|
m_TargetAssemblyTypeName: BlueWater.Players.Tycoons.TycoonInput, Assembly-CSharp
|
||||||
|
m_MethodName: OnCancelManual
|
||||||
|
m_Mode: 0
|
||||||
|
m_Arguments:
|
||||||
|
m_ObjectArgument: {fileID: 0}
|
||||||
|
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
|
||||||
|
m_IntArgument: 0
|
||||||
|
m_FloatArgument: 0
|
||||||
|
m_StringArgument:
|
||||||
|
m_BoolArgument: 0
|
||||||
|
m_CallState: 2
|
||||||
|
m_ActionId: c30fb3f3-d280-4b30-af6c-15f7483fd658
|
||||||
|
m_ActionName: 'TycoonUi/CancelManual[/Keyboard/q]'
|
||||||
m_NeverAutoSwitchControlSchemes: 0
|
m_NeverAutoSwitchControlSchemes: 0
|
||||||
m_DefaultControlScheme:
|
m_DefaultControlScheme:
|
||||||
m_DefaultActionMap: Tycoon
|
m_DefaultActionMap: Tycoon
|
||||||
|
212
Assets/05.Prefabs/Uis/Tycoons/ManualCocktailButton.prefab
Normal file
@ -0,0 +1,212 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!1 &181779769155476833
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 7646053445687989879}
|
||||||
|
- component: {fileID: 555777395799226202}
|
||||||
|
- component: {fileID: 4734109970123610176}
|
||||||
|
- component: {fileID: 5439083395804682389}
|
||||||
|
- component: {fileID: 6667137138327223632}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: ManualCocktailButton
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &7646053445687989879
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 181779769155476833}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children:
|
||||||
|
- {fileID: 423343075028179217}
|
||||||
|
m_Father: {fileID: 0}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0, y: 0}
|
||||||
|
m_AnchorMax: {x: 0, y: 0}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 0, y: 0}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &555777395799226202
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 181779769155476833}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &4734109970123610176
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 181779769155476833}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 0}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: f80aa7accb1736a41b24c1113c38cbf8, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
||||||
|
--- !u!114 &5439083395804682389
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 181779769155476833}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Navigation:
|
||||||
|
m_Mode: 3
|
||||||
|
m_WrapAround: 0
|
||||||
|
m_SelectOnUp: {fileID: 0}
|
||||||
|
m_SelectOnDown: {fileID: 0}
|
||||||
|
m_SelectOnLeft: {fileID: 0}
|
||||||
|
m_SelectOnRight: {fileID: 0}
|
||||||
|
m_Transition: 1
|
||||||
|
m_Colors:
|
||||||
|
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
|
||||||
|
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
|
||||||
|
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
|
||||||
|
m_ColorMultiplier: 1
|
||||||
|
m_FadeDuration: 0.1
|
||||||
|
m_SpriteState:
|
||||||
|
m_HighlightedSprite: {fileID: 0}
|
||||||
|
m_PressedSprite: {fileID: 0}
|
||||||
|
m_SelectedSprite: {fileID: 0}
|
||||||
|
m_DisabledSprite: {fileID: 0}
|
||||||
|
m_AnimationTriggers:
|
||||||
|
m_NormalTrigger: Normal
|
||||||
|
m_HighlightedTrigger: Highlighted
|
||||||
|
m_PressedTrigger: Pressed
|
||||||
|
m_SelectedTrigger: Selected
|
||||||
|
m_DisabledTrigger: Disabled
|
||||||
|
m_Interactable: 1
|
||||||
|
m_TargetGraphic: {fileID: 4734109970123610176}
|
||||||
|
m_OnClick:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
--- !u!114 &6667137138327223632
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 181779769155476833}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: b470f74ac4a54bb4fae06d22ecef1c0e, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
manual: {fileID: 0}
|
||||||
|
--- !u!1 &4085502877294975030
|
||||||
|
GameObject:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Component:
|
||||||
|
- component: {fileID: 423343075028179217}
|
||||||
|
- component: {fileID: 705404688310186420}
|
||||||
|
- component: {fileID: 1754191685957469056}
|
||||||
|
m_Layer: 5
|
||||||
|
m_Name: Image
|
||||||
|
m_TagString: Untagged
|
||||||
|
m_Icon: {fileID: 0}
|
||||||
|
m_NavMeshLayer: 0
|
||||||
|
m_StaticEditorFlags: 0
|
||||||
|
m_IsActive: 1
|
||||||
|
--- !u!224 &423343075028179217
|
||||||
|
RectTransform:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4085502877294975030}
|
||||||
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||||
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
|
m_ConstrainProportionsScale: 0
|
||||||
|
m_Children: []
|
||||||
|
m_Father: {fileID: 7646053445687989879}
|
||||||
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
|
m_AnchorMin: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchorMax: {x: 0.5, y: 0.5}
|
||||||
|
m_AnchoredPosition: {x: 0, y: 0}
|
||||||
|
m_SizeDelta: {x: 110, y: 110}
|
||||||
|
m_Pivot: {x: 0.5, y: 0.5}
|
||||||
|
--- !u!222 &705404688310186420
|
||||||
|
CanvasRenderer:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4085502877294975030}
|
||||||
|
m_CullTransparentMesh: 1
|
||||||
|
--- !u!114 &1754191685957469056
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4085502877294975030}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
m_Material: {fileID: 2100000, guid: 3a05912c0f6e620488206ca5147e771e, type: 2}
|
||||||
|
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_RaycastTarget: 1
|
||||||
|
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
|
||||||
|
m_Maskable: 1
|
||||||
|
m_OnCullStateChanged:
|
||||||
|
m_PersistentCalls:
|
||||||
|
m_Calls: []
|
||||||
|
m_Sprite: {fileID: 21300000, guid: 0cf23778fd0b2994c9d608fbbf185468, type: 3}
|
||||||
|
m_Type: 0
|
||||||
|
m_PreserveAspect: 0
|
||||||
|
m_FillCenter: 1
|
||||||
|
m_FillMethod: 4
|
||||||
|
m_FillAmount: 1
|
||||||
|
m_FillClockwise: 1
|
||||||
|
m_FillOrigin: 0
|
||||||
|
m_UseSpriteMesh: 0
|
||||||
|
m_PixelsPerUnitMultiplier: 1
|
@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 52e209f6535e22848b973ed5de9cbc18
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
@ -11,17 +11,61 @@ AnimatorStateMachine:
|
|||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: 8619181993400042153}
|
m_State: {fileID: 8619181993400042153}
|
||||||
m_Position: {x: 510, y: 150, z: 0}
|
m_Position: {x: 370, y: 140, z: 0}
|
||||||
|
- serializedVersion: 1
|
||||||
|
m_State: {fileID: -1545452693241412291}
|
||||||
|
m_Position: {x: 370, y: 230, z: 0}
|
||||||
m_ChildStateMachines: []
|
m_ChildStateMachines: []
|
||||||
m_AnyStateTransitions: []
|
m_AnyStateTransitions: []
|
||||||
m_EntryTransitions: []
|
m_EntryTransitions:
|
||||||
|
- {fileID: -1408823913477841588}
|
||||||
m_StateMachineTransitions: {}
|
m_StateMachineTransitions: {}
|
||||||
m_StateMachineBehaviours: []
|
m_StateMachineBehaviours: []
|
||||||
m_AnyStatePosition: {x: 320, y: 80, z: 0}
|
m_AnyStatePosition: {x: 150, y: 110, z: 0}
|
||||||
m_EntryPosition: {x: 330, y: 150, z: 0}
|
m_EntryPosition: {x: 150, y: 150, z: 0}
|
||||||
m_ExitPosition: {x: 730, y: 150, z: 0}
|
m_ExitPosition: {x: 370, y: 300, z: 0}
|
||||||
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
|
||||||
m_DefaultState: {fileID: 8619181993400042153}
|
m_DefaultState: {fileID: 8619181993400042153}
|
||||||
|
--- !u!1102 &-1545452693241412291
|
||||||
|
AnimatorState:
|
||||||
|
serializedVersion: 6
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: CardUpgrade_Reverse
|
||||||
|
m_Speed: -1
|
||||||
|
m_CycleOffset: 0
|
||||||
|
m_Transitions: []
|
||||||
|
m_StateMachineBehaviours: []
|
||||||
|
m_Position: {x: 50, y: 50, z: 0}
|
||||||
|
m_IKOnFeet: 0
|
||||||
|
m_WriteDefaultValues: 1
|
||||||
|
m_Mirror: 0
|
||||||
|
m_SpeedParameterActive: 0
|
||||||
|
m_MirrorParameterActive: 0
|
||||||
|
m_CycleOffsetParameterActive: 0
|
||||||
|
m_TimeParameterActive: 0
|
||||||
|
m_Motion: {fileID: 7400000, guid: 9638333bc5f5e5a4c9260ca14309f58e, type: 2}
|
||||||
|
m_Tag:
|
||||||
|
m_SpeedParameter:
|
||||||
|
m_MirrorParameter:
|
||||||
|
m_CycleOffsetParameter:
|
||||||
|
m_TimeParameter:
|
||||||
|
--- !u!1109 &-1408823913477841588
|
||||||
|
AnimatorTransition:
|
||||||
|
m_ObjectHideFlags: 1
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name:
|
||||||
|
m_Conditions: []
|
||||||
|
m_DstStateMachine: {fileID: 0}
|
||||||
|
m_DstState: {fileID: -1545452693241412291}
|
||||||
|
m_Solo: 0
|
||||||
|
m_Mute: 0
|
||||||
|
m_IsExit: 0
|
||||||
|
serializedVersion: 1
|
||||||
--- !u!91 &9100000
|
--- !u!91 &9100000
|
||||||
AnimatorController:
|
AnimatorController:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
|
@ -1,928 +0,0 @@
|
|||||||
{
|
|
||||||
"m_SGVersion": 3,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.GraphData",
|
|
||||||
"m_ObjectId": "0c543114197c4a749e568a2c690fa5e2",
|
|
||||||
"m_Properties": [
|
|
||||||
{
|
|
||||||
"m_Id": "b414e28881954dfba624121d6f32a56f"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_Keywords": [],
|
|
||||||
"m_Dropdowns": [],
|
|
||||||
"m_CategoryData": [
|
|
||||||
{
|
|
||||||
"m_Id": "e5fb7de4c83442d08ac8889418d81df3"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_Nodes": [
|
|
||||||
{
|
|
||||||
"m_Id": "e691dee6f1124c8a94cfaf21167b6a8f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "7abdfc1a29c7483ea553eb232f56e5df"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "95de9a53de5d443185ad5ab582e8073e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "bc1c4910bc2945719a4471471644cadb"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "3e59a57ae2f2430b90f61779567f0eaf"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "5f98f650f34347ba9924309640af1fa1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "9b9d20c147684325830360dfec1edbb2"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_GroupDatas": [],
|
|
||||||
"m_StickyNoteDatas": [],
|
|
||||||
"m_Edges": [
|
|
||||||
{
|
|
||||||
"m_OutputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "3e59a57ae2f2430b90f61779567f0eaf"
|
|
||||||
},
|
|
||||||
"m_SlotId": 2
|
|
||||||
},
|
|
||||||
"m_InputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "e691dee6f1124c8a94cfaf21167b6a8f"
|
|
||||||
},
|
|
||||||
"m_SlotId": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_OutputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "5f98f650f34347ba9924309640af1fa1"
|
|
||||||
},
|
|
||||||
"m_SlotId": 0
|
|
||||||
},
|
|
||||||
"m_InputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "3e59a57ae2f2430b90f61779567f0eaf"
|
|
||||||
},
|
|
||||||
"m_SlotId": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_OutputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "95de9a53de5d443185ad5ab582e8073e"
|
|
||||||
},
|
|
||||||
"m_SlotId": 2
|
|
||||||
},
|
|
||||||
"m_InputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "bc1c4910bc2945719a4471471644cadb"
|
|
||||||
},
|
|
||||||
"m_SlotId": 0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_OutputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "9b9d20c147684325830360dfec1edbb2"
|
|
||||||
},
|
|
||||||
"m_SlotId": 0
|
|
||||||
},
|
|
||||||
"m_InputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "bc1c4910bc2945719a4471471644cadb"
|
|
||||||
},
|
|
||||||
"m_SlotId": 1
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_OutputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "bc1c4910bc2945719a4471471644cadb"
|
|
||||||
},
|
|
||||||
"m_SlotId": 2
|
|
||||||
},
|
|
||||||
"m_InputSlot": {
|
|
||||||
"m_Node": {
|
|
||||||
"m_Id": "3e59a57ae2f2430b90f61779567f0eaf"
|
|
||||||
},
|
|
||||||
"m_SlotId": 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_VertexContext": {
|
|
||||||
"m_Position": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0
|
|
||||||
},
|
|
||||||
"m_Blocks": []
|
|
||||||
},
|
|
||||||
"m_FragmentContext": {
|
|
||||||
"m_Position": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 200.0
|
|
||||||
},
|
|
||||||
"m_Blocks": [
|
|
||||||
{
|
|
||||||
"m_Id": "e691dee6f1124c8a94cfaf21167b6a8f"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "7abdfc1a29c7483ea553eb232f56e5df"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"m_PreviewData": {
|
|
||||||
"serializedMesh": {
|
|
||||||
"m_SerializedMesh": "{\"mesh\":{\"instanceID\":0}}",
|
|
||||||
"m_Guid": ""
|
|
||||||
},
|
|
||||||
"preventRotation": false
|
|
||||||
},
|
|
||||||
"m_Path": "Shader Graphs",
|
|
||||||
"m_GraphPrecision": 1,
|
|
||||||
"m_PreviewMode": 2,
|
|
||||||
"m_OutputNode": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_SubDatas": [],
|
|
||||||
"m_ActiveTargets": [
|
|
||||||
{
|
|
||||||
"m_Id": "f34aaffdbf3b45cc816b9aa3b6b5a2fb"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector3MaterialSlot",
|
|
||||||
"m_ObjectId": "022de4a3056348a6b93d543a97659f10",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "Out",
|
|
||||||
"m_SlotType": 1,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Out",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0
|
|
||||||
},
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.ScreenPositionMaterialSlot",
|
|
||||||
"m_ObjectId": "1e032218938b49938490947ea3c87e4a",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "UV",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "UV",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
},
|
|
||||||
"m_Labels": [],
|
|
||||||
"m_ScreenSpaceType": 0
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalFullscreenSubTarget",
|
|
||||||
"m_ObjectId": "202a2e123a9643f2ad5900c4237cd467"
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "279105f02d5c450b9ba1c481e4c93e93",
|
|
||||||
"m_Id": 1,
|
|
||||||
"m_DisplayName": "X",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "X",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": 0.2125999927520752,
|
|
||||||
"m_DefaultValue": 0.0,
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBAMaterialSlot",
|
|
||||||
"m_ObjectId": "341db1be378d4843a275452455aca8f7",
|
|
||||||
"m_Id": 2,
|
|
||||||
"m_DisplayName": "Output",
|
|
||||||
"m_SlotType": 1,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Output",
|
|
||||||
"m_StageCapability": 2,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 1.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
},
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.MultiplyNode",
|
|
||||||
"m_ObjectId": "3e59a57ae2f2430b90f61779567f0eaf",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "Multiply",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": -293.00006103515627,
|
|
||||||
"y": 247.00001525878907,
|
|
||||||
"width": 208.00001525878907,
|
|
||||||
"height": 302.0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "e0409fb3600d40ccb8afd44719495778"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "ec827d75678e4b0f977fe0dafb92d6ca"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "470b1c76a4d948718505607af0c192cf"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [
|
|
||||||
"multiplication",
|
|
||||||
"times",
|
|
||||||
"x"
|
|
||||||
],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
||||||
"m_ObjectId": "470b1c76a4d948718505607af0c192cf",
|
|
||||||
"m_Id": 2,
|
|
||||||
"m_DisplayName": "Out",
|
|
||||||
"m_SlotType": 1,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Out",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"e00": 0.0,
|
|
||||||
"e01": 0.0,
|
|
||||||
"e02": 0.0,
|
|
||||||
"e03": 0.0,
|
|
||||||
"e10": 0.0,
|
|
||||||
"e11": 0.0,
|
|
||||||
"e12": 0.0,
|
|
||||||
"e13": 0.0,
|
|
||||||
"e20": 0.0,
|
|
||||||
"e21": 0.0,
|
|
||||||
"e22": 0.0,
|
|
||||||
"e23": 0.0,
|
|
||||||
"e30": 0.0,
|
|
||||||
"e31": 0.0,
|
|
||||||
"e32": 0.0,
|
|
||||||
"e33": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"e00": 1.0,
|
|
||||||
"e01": 0.0,
|
|
||||||
"e02": 0.0,
|
|
||||||
"e03": 0.0,
|
|
||||||
"e10": 0.0,
|
|
||||||
"e11": 1.0,
|
|
||||||
"e12": 0.0,
|
|
||||||
"e13": 0.0,
|
|
||||||
"e20": 0.0,
|
|
||||||
"e21": 0.0,
|
|
||||||
"e22": 1.0,
|
|
||||||
"e23": 0.0,
|
|
||||||
"e30": 0.0,
|
|
||||||
"e31": 0.0,
|
|
||||||
"e32": 0.0,
|
|
||||||
"e33": 1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
||||||
"m_ObjectId": "4e82d1350b5840a1a3592777aa9c063e",
|
|
||||||
"m_Id": 1,
|
|
||||||
"m_DisplayName": "B",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "B",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 1.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.PropertyNode",
|
|
||||||
"m_ObjectId": "5f98f650f34347ba9924309640af1fa1",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "Property",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": -293.00006103515627,
|
|
||||||
"y": 213.00001525878907,
|
|
||||||
"width": 120.00004577636719,
|
|
||||||
"height": 34.0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "877a47185d024170a673e5e94ed657b1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
},
|
|
||||||
"m_Property": {
|
|
||||||
"m_Id": "b414e28881954dfba624121d6f32a56f"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.Rendering.Fullscreen.ShaderGraph.FullscreenData",
|
|
||||||
"m_ObjectId": "6b0bc4a1e1834b37b23efdaad5203dcc",
|
|
||||||
"m_Version": 0,
|
|
||||||
"m_fullscreenMode": 0,
|
|
||||||
"m_BlendMode": 0,
|
|
||||||
"m_SrcColorBlendMode": 0,
|
|
||||||
"m_DstColorBlendMode": 1,
|
|
||||||
"m_ColorBlendOperation": 0,
|
|
||||||
"m_SrcAlphaBlendMode": 0,
|
|
||||||
"m_DstAlphaBlendMode": 1,
|
|
||||||
"m_AlphaBlendOperation": 0,
|
|
||||||
"m_EnableStencil": false,
|
|
||||||
"m_StencilReference": 0,
|
|
||||||
"m_StencilReadMask": 255,
|
|
||||||
"m_StencilWriteMask": 255,
|
|
||||||
"m_StencilCompareFunction": 8,
|
|
||||||
"m_StencilPassOperation": 0,
|
|
||||||
"m_StencilFailOperation": 0,
|
|
||||||
"m_StencilDepthFailOperation": 0,
|
|
||||||
"m_DepthWrite": false,
|
|
||||||
"m_depthWriteMode": 0,
|
|
||||||
"m_AllowMaterialOverride": false,
|
|
||||||
"m_DepthTestMode": 0
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.ColorRGBMaterialSlot",
|
|
||||||
"m_ObjectId": "76b97013a73a4f55bf58a7b262ea0e22",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "Base Color",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "BaseColor",
|
|
||||||
"m_StageCapability": 2,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.5,
|
|
||||||
"y": 0.5,
|
|
||||||
"z": 0.5
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0
|
|
||||||
},
|
|
||||||
"m_Labels": [],
|
|
||||||
"m_ColorMode": 0,
|
|
||||||
"m_DefaultColor": {
|
|
||||||
"r": 0.5,
|
|
||||||
"g": 0.5,
|
|
||||||
"b": 0.5,
|
|
||||||
"a": 1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
||||||
"m_ObjectId": "7abdfc1a29c7483ea553eb232f56e5df",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "SurfaceDescription.Alpha",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"width": 0.0,
|
|
||||||
"height": 0.0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "a8e198c891d04dabaf70e3da1ea13b04"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
},
|
|
||||||
"m_SerializedDescriptor": "SurfaceDescription.Alpha"
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "877a47185d024170a673e5e94ed657b1",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "Intensity",
|
|
||||||
"m_SlotType": 1,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Out",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": 0.0,
|
|
||||||
"m_DefaultValue": 0.0,
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.Rendering.Universal.UniversalSampleBufferNode",
|
|
||||||
"m_ObjectId": "95de9a53de5d443185ad5ab582e8073e",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "URP Sample Buffer",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": -914.0001220703125,
|
|
||||||
"y": 107.0,
|
|
||||||
"width": 208.0,
|
|
||||||
"height": 313.0000305175781
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "1e032218938b49938490947ea3c87e4a"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "341db1be378d4843a275452455aca8f7"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [
|
|
||||||
"normal",
|
|
||||||
"motion vector",
|
|
||||||
"blit"
|
|
||||||
],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
},
|
|
||||||
"m_BufferType": 2
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector3Node",
|
|
||||||
"m_ObjectId": "9b9d20c147684325830360dfec1edbb2",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "Vector 3",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": -798.0000610351563,
|
|
||||||
"y": 482.0,
|
|
||||||
"width": 128.0,
|
|
||||||
"height": 125.0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "279105f02d5c450b9ba1c481e4c93e93"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "fed6b789a3694760b9f12dab7fa298a3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "ec80bf1c9e4c41daa3064bb1ce8467e4"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "022de4a3056348a6b93d543a97659f10"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [
|
|
||||||
"3",
|
|
||||||
"v3",
|
|
||||||
"vec3",
|
|
||||||
"float3"
|
|
||||||
],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
},
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "a8e198c891d04dabaf70e3da1ea13b04",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "Alpha",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Alpha",
|
|
||||||
"m_StageCapability": 2,
|
|
||||||
"m_Value": 1.0,
|
|
||||||
"m_DefaultValue": 1.0,
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 1,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Internal.Vector1ShaderProperty",
|
|
||||||
"m_ObjectId": "b414e28881954dfba624121d6f32a56f",
|
|
||||||
"m_Guid": {
|
|
||||||
"m_GuidSerialized": "f41e8b2c-05ec-455a-9260-b21ee84531ed"
|
|
||||||
},
|
|
||||||
"m_Name": "Intensity",
|
|
||||||
"m_DefaultRefNameVersion": 1,
|
|
||||||
"m_RefNameGeneratedByDisplayName": "Intensity",
|
|
||||||
"m_DefaultReferenceName": "_Intensity",
|
|
||||||
"m_OverrideReferenceName": "",
|
|
||||||
"m_GeneratePropertyBlock": true,
|
|
||||||
"m_UseCustomSlotLabel": false,
|
|
||||||
"m_CustomSlotLabel": "",
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_Precision": 0,
|
|
||||||
"overrideHLSLDeclaration": false,
|
|
||||||
"hlslDeclarationOverride": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_Value": 1.0,
|
|
||||||
"m_FloatType": 0,
|
|
||||||
"m_RangeValues": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DotProductNode",
|
|
||||||
"m_ObjectId": "bc1c4910bc2945719a4471471644cadb",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "Dot Product",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": -564.0000610351563,
|
|
||||||
"y": 305.0000305175781,
|
|
||||||
"width": 208.00003051757813,
|
|
||||||
"height": 301.9999694824219
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "c6a588ed58414e0b98fe85b270bcef5d"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "4e82d1350b5840a1a3592777aa9c063e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"m_Id": "cebbb9e79097430ba6f1331927572efd"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [
|
|
||||||
"scalar product"
|
|
||||||
],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DynamicVectorMaterialSlot",
|
|
||||||
"m_ObjectId": "c6a588ed58414e0b98fe85b270bcef5d",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "A",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "A",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"z": 0.0,
|
|
||||||
"w": 0.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "cebbb9e79097430ba6f1331927572efd",
|
|
||||||
"m_Id": 2,
|
|
||||||
"m_DisplayName": "Out",
|
|
||||||
"m_SlotType": 1,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Out",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": 0.0,
|
|
||||||
"m_DefaultValue": 0.0,
|
|
||||||
"m_Labels": []
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
||||||
"m_ObjectId": "e0409fb3600d40ccb8afd44719495778",
|
|
||||||
"m_Id": 0,
|
|
||||||
"m_DisplayName": "A",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "A",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"e00": 0.0,
|
|
||||||
"e01": 0.0,
|
|
||||||
"e02": 0.0,
|
|
||||||
"e03": 0.0,
|
|
||||||
"e10": 0.0,
|
|
||||||
"e11": 0.0,
|
|
||||||
"e12": 0.0,
|
|
||||||
"e13": 0.0,
|
|
||||||
"e20": 0.0,
|
|
||||||
"e21": 0.0,
|
|
||||||
"e22": 0.0,
|
|
||||||
"e23": 0.0,
|
|
||||||
"e30": 0.0,
|
|
||||||
"e31": 0.0,
|
|
||||||
"e32": 0.0,
|
|
||||||
"e33": 0.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"e00": 1.0,
|
|
||||||
"e01": 0.0,
|
|
||||||
"e02": 0.0,
|
|
||||||
"e03": 0.0,
|
|
||||||
"e10": 0.0,
|
|
||||||
"e11": 1.0,
|
|
||||||
"e12": 0.0,
|
|
||||||
"e13": 0.0,
|
|
||||||
"e20": 0.0,
|
|
||||||
"e21": 0.0,
|
|
||||||
"e22": 1.0,
|
|
||||||
"e23": 0.0,
|
|
||||||
"e30": 0.0,
|
|
||||||
"e31": 0.0,
|
|
||||||
"e32": 0.0,
|
|
||||||
"e33": 1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.CategoryData",
|
|
||||||
"m_ObjectId": "e5fb7de4c83442d08ac8889418d81df3",
|
|
||||||
"m_Name": "",
|
|
||||||
"m_ChildObjectList": [
|
|
||||||
{
|
|
||||||
"m_Id": "b414e28881954dfba624121d6f32a56f"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.BlockNode",
|
|
||||||
"m_ObjectId": "e691dee6f1124c8a94cfaf21167b6a8f",
|
|
||||||
"m_Group": {
|
|
||||||
"m_Id": ""
|
|
||||||
},
|
|
||||||
"m_Name": "SurfaceDescription.BaseColor",
|
|
||||||
"m_DrawState": {
|
|
||||||
"m_Expanded": true,
|
|
||||||
"m_Position": {
|
|
||||||
"serializedVersion": "2",
|
|
||||||
"x": 0.0,
|
|
||||||
"y": 0.0,
|
|
||||||
"width": 0.0,
|
|
||||||
"height": 0.0
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"m_Slots": [
|
|
||||||
{
|
|
||||||
"m_Id": "76b97013a73a4f55bf58a7b262ea0e22"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"synonyms": [],
|
|
||||||
"m_Precision": 0,
|
|
||||||
"m_PreviewExpanded": true,
|
|
||||||
"m_DismissedVersion": 0,
|
|
||||||
"m_PreviewMode": 0,
|
|
||||||
"m_CustomColors": {
|
|
||||||
"m_SerializableColors": []
|
|
||||||
},
|
|
||||||
"m_SerializedDescriptor": "SurfaceDescription.BaseColor"
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "ec80bf1c9e4c41daa3064bb1ce8467e4",
|
|
||||||
"m_Id": 3,
|
|
||||||
"m_DisplayName": "Z",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Z",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": 0.0722000002861023,
|
|
||||||
"m_DefaultValue": 0.0,
|
|
||||||
"m_Labels": [
|
|
||||||
"Z"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.DynamicValueMaterialSlot",
|
|
||||||
"m_ObjectId": "ec827d75678e4b0f977fe0dafb92d6ca",
|
|
||||||
"m_Id": 1,
|
|
||||||
"m_DisplayName": "B",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "B",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": {
|
|
||||||
"e00": 2.0,
|
|
||||||
"e01": 2.0,
|
|
||||||
"e02": 2.0,
|
|
||||||
"e03": 2.0,
|
|
||||||
"e10": 2.0,
|
|
||||||
"e11": 2.0,
|
|
||||||
"e12": 2.0,
|
|
||||||
"e13": 2.0,
|
|
||||||
"e20": 2.0,
|
|
||||||
"e21": 2.0,
|
|
||||||
"e22": 2.0,
|
|
||||||
"e23": 2.0,
|
|
||||||
"e30": 2.0,
|
|
||||||
"e31": 2.0,
|
|
||||||
"e32": 2.0,
|
|
||||||
"e33": 2.0
|
|
||||||
},
|
|
||||||
"m_DefaultValue": {
|
|
||||||
"e00": 1.0,
|
|
||||||
"e01": 0.0,
|
|
||||||
"e02": 0.0,
|
|
||||||
"e03": 0.0,
|
|
||||||
"e10": 0.0,
|
|
||||||
"e11": 1.0,
|
|
||||||
"e12": 0.0,
|
|
||||||
"e13": 0.0,
|
|
||||||
"e20": 0.0,
|
|
||||||
"e21": 0.0,
|
|
||||||
"e22": 1.0,
|
|
||||||
"e23": 0.0,
|
|
||||||
"e30": 0.0,
|
|
||||||
"e31": 0.0,
|
|
||||||
"e32": 0.0,
|
|
||||||
"e33": 1.0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 1,
|
|
||||||
"m_Type": "UnityEditor.Rendering.Universal.ShaderGraph.UniversalTarget",
|
|
||||||
"m_ObjectId": "f34aaffdbf3b45cc816b9aa3b6b5a2fb",
|
|
||||||
"m_Datas": [
|
|
||||||
{
|
|
||||||
"m_Id": "6b0bc4a1e1834b37b23efdaad5203dcc"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"m_ActiveSubTarget": {
|
|
||||||
"m_Id": "202a2e123a9643f2ad5900c4237cd467"
|
|
||||||
},
|
|
||||||
"m_AllowMaterialOverride": false,
|
|
||||||
"m_SurfaceType": 0,
|
|
||||||
"m_ZTestMode": 4,
|
|
||||||
"m_ZWriteControl": 0,
|
|
||||||
"m_AlphaMode": 0,
|
|
||||||
"m_RenderFace": 2,
|
|
||||||
"m_AlphaClip": false,
|
|
||||||
"m_CastShadows": true,
|
|
||||||
"m_ReceiveShadows": true,
|
|
||||||
"m_DisableTint": false,
|
|
||||||
"m_AdditionalMotionVectorMode": 0,
|
|
||||||
"m_AlembicMotionVectors": false,
|
|
||||||
"m_SupportsLODCrossFade": false,
|
|
||||||
"m_CustomEditorGUI": "",
|
|
||||||
"m_SupportVFX": false
|
|
||||||
}
|
|
||||||
|
|
||||||
{
|
|
||||||
"m_SGVersion": 0,
|
|
||||||
"m_Type": "UnityEditor.ShaderGraph.Vector1MaterialSlot",
|
|
||||||
"m_ObjectId": "fed6b789a3694760b9f12dab7fa298a3",
|
|
||||||
"m_Id": 2,
|
|
||||||
"m_DisplayName": "Y",
|
|
||||||
"m_SlotType": 0,
|
|
||||||
"m_Hidden": false,
|
|
||||||
"m_ShaderOutputName": "Y",
|
|
||||||
"m_StageCapability": 3,
|
|
||||||
"m_Value": 0.7152000069618225,
|
|
||||||
"m_DefaultValue": 0.0,
|
|
||||||
"m_Labels": [
|
|
||||||
"Y"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: 7d78a69be90ba2943972ae067bf105f9
|
|
||||||
ScriptedImporter:
|
|
||||||
internalIDToNameTable: []
|
|
||||||
externalObjects: {}
|
|
||||||
serializedVersion: 2
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}
|
|
52
Assets/09.Shaders/Greyscale.shader
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Shader "Unlit/Greyscale"
|
||||||
|
{
|
||||||
|
Properties
|
||||||
|
{
|
||||||
|
_MainTex("Texture", 2D) = "white" {}
|
||||||
|
}
|
||||||
|
SubShader
|
||||||
|
{
|
||||||
|
Tags { "RenderType" = "Transparent" "Queue" = "Transparent" }
|
||||||
|
Blend SrcAlpha OneMinusSrcAlpha
|
||||||
|
ZWrite Off
|
||||||
|
Cull Off
|
||||||
|
|
||||||
|
Pass
|
||||||
|
{
|
||||||
|
CGPROGRAM
|
||||||
|
#pragma vertex vert
|
||||||
|
#pragma fragment frag
|
||||||
|
|
||||||
|
#include "UnityCG.cginc"
|
||||||
|
|
||||||
|
struct appdata {
|
||||||
|
float4 vertex : POSITION;
|
||||||
|
float2 uv : TEXCOORD0;
|
||||||
|
};
|
||||||
|
|
||||||
|
struct v2f {
|
||||||
|
float2 uv : TEXCOORD0;
|
||||||
|
float4 vertex : SV_POSITION;
|
||||||
|
};
|
||||||
|
|
||||||
|
sampler2D _MainTex;
|
||||||
|
float4 _MainTex_ST;
|
||||||
|
|
||||||
|
v2f vert(appdata v) {
|
||||||
|
v2f o;
|
||||||
|
o.vertex = UnityObjectToClipPos(v.vertex);
|
||||||
|
o.uv = TRANSFORM_TEX(v.uv, _MainTex);
|
||||||
|
return o;
|
||||||
|
}
|
||||||
|
|
||||||
|
fixed4 frag(v2f i) : SV_Target
|
||||||
|
{
|
||||||
|
fixed4 col = tex2D(_MainTex, i.uv);
|
||||||
|
float grey = dot(col.rgb, float3(0.299, 0.587, 0.114));
|
||||||
|
return fixed4(grey, grey, grey, col.a);
|
||||||
|
}
|
||||||
|
ENDCG
|
||||||
|
}
|
||||||
|
}
|
||||||
|
FallBack "Diffuse"
|
||||||
|
}
|
9
Assets/09.Shaders/Greyscale.shader.meta
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c7d22fc772f669c4ea04352edfbc829b
|
||||||
|
ShaderImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
defaultTextures: []
|
||||||
|
nonModifiableTextures: []
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|