情報表示ItemPrefab作成
This commit is contained in:
parent
3c1c1cfa82
commit
ddb8235c62
File diff suppressed because it is too large
Load Diff
|
|
@ -463,6 +463,7 @@ GameObject:
|
|||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1140500467267622730}
|
||||
- component: {fileID: 4805529349464699771}
|
||||
m_Layer: 0
|
||||
m_Name: detail_MaterialInventory
|
||||
m_TagString: Untagged
|
||||
|
|
@ -491,6 +492,18 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &4805529349464699771
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1140500467267622731}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a3678f95f7fb47e6a896f5981fa856ee, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &1140500467660440450
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -426,6 +426,7 @@ GameObject:
|
|||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 4260782103887353673}
|
||||
- component: {fileID: 3662096502458948059}
|
||||
m_Layer: 0
|
||||
m_Name: detail_ProductInventory
|
||||
m_TagString: Untagged
|
||||
|
|
@ -454,6 +455,18 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &3662096502458948059
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4260782103887353672}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: c900b532386a4143b472d5dda83f0d7b, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &4260782104312622756
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -48,6 +48,7 @@ GameObject:
|
|||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 6878252344716020596}
|
||||
- component: {fileID: 63248726259004945}
|
||||
m_Layer: 0
|
||||
m_Name: detail_histoy
|
||||
m_TagString: Untagged
|
||||
|
|
@ -77,6 +78,18 @@ RectTransform:
|
|||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &63248726259004945
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 6878252344716020599}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec14e6a9da43403d96c18ca8372f3b9a, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1 &6878252344780763311
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class HasMaterialItemView : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: a3678f95f7fb47e6a896f5981fa856ee
|
||||
timeCreated: 1634261299
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class HasProductItemView : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: c900b532386a4143b472d5dda83f0d7b
|
||||
timeCreated: 1634261284
|
||||
|
|
@ -20,6 +20,26 @@ public class Information : MonoBehaviour
|
|||
[SerializeField] private GameObject shopInfoObject;
|
||||
[SerializeField] private GameObject recordObject;
|
||||
|
||||
[SerializeField] private Transform historyTarget;
|
||||
[SerializeField] private Transform productTarget;
|
||||
[SerializeField] private Transform materialTarget;
|
||||
|
||||
[SerializeField] private ShopHistoryItemView historyPrefab;
|
||||
[SerializeField] private HasProductItemView productPrefab;
|
||||
[SerializeField] private HasMaterialItemView materialPrefab;
|
||||
|
||||
[SerializeField] private Text totalDayText;
|
||||
[SerializeField] private Text totalSalesText;
|
||||
[SerializeField] private Text totalCoinText;
|
||||
|
||||
public static readonly string dayFormat = "{0}日";
|
||||
public static readonly string salesFormat = "{0}個";
|
||||
public static readonly string progressFormat = "{0}/{1}";
|
||||
|
||||
[SerializeField] private Text achievementText;
|
||||
[SerializeField] private Text shopLevelText;
|
||||
[SerializeField] private Text progressText;
|
||||
|
||||
private void Start()
|
||||
{
|
||||
closeButton.OnClickAsObservable().Subscribe(_ =>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
public class ShopHistoryItemView : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
fileFormatVersion: 2
|
||||
guid: ec14e6a9da43403d96c18ca8372f3b9a
|
||||
timeCreated: 1634261251
|
||||
Loading…
Reference in New Issue