タンクのIconPrefab作成

This commit is contained in:
kimura 2021-10-13 14:55:21 +09:00
parent 937c271de9
commit ec97cd8207
3 changed files with 135 additions and 1 deletions

View File

@ -0,0 +1,127 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &4258273229407138951
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 3416971083107644784, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_Name
value: tank
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644786, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_Sprite
value:
objectReference: {fileID: 21300000, guid: 7377ceb58a42a41468de8292c46bc83e,
type: 3}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchorMax.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchorMax.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchorMin.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_SizeDelta.x
value: 150
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_SizeDelta.y
value: 150
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3416971083107644787, guid: 09cb22d8826ff4c4391577ba60b04ad6,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 09cb22d8826ff4c4391577ba60b04ad6, type: 3}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 68216907aaf5e4758837ec8987fd2960
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -72,7 +72,7 @@ public class ProductManagement : MonoBehaviour
text = "ポップコーンを保存する容器",
category = 3,
consumeType = 2,
prefabName = ""
prefabName = "tank"
};
tankView.PurchaseButtonObservable
.Where(_ => shopData.price <= CoinManager.Instance.OwnCoin)