タンクのIconPrefab作成
This commit is contained in:
		
							parent
							
								
									937c271de9
								
							
						
					
					
						commit
						ec97cd8207
					
				|  | @ -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} | ||||||
|  | @ -0,0 +1,7 @@ | ||||||
|  | fileFormatVersion: 2 | ||||||
|  | guid: 68216907aaf5e4758837ec8987fd2960 | ||||||
|  | PrefabImporter: | ||||||
|  |   externalObjects: {} | ||||||
|  |   userData:  | ||||||
|  |   assetBundleName:  | ||||||
|  |   assetBundleVariant:  | ||||||
|  | @ -72,7 +72,7 @@ public class ProductManagement : MonoBehaviour | ||||||
|                     text = "ポップコーンを保存する容器", |                     text = "ポップコーンを保存する容器", | ||||||
|                     category = 3, |                     category = 3, | ||||||
|                     consumeType = 2, |                     consumeType = 2, | ||||||
|                     prefabName = "" |                     prefabName = "tank" | ||||||
|                 }; |                 }; | ||||||
|                 tankView.PurchaseButtonObservable |                 tankView.PurchaseButtonObservable | ||||||
|                     .Where(_ => shopData.price <= CoinManager.Instance.OwnCoin) |                     .Where(_ => shopData.price <= CoinManager.Instance.OwnCoin) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue