mirror of
https://github.com/ConjureETS/Human-Farm-Tycoon.git
synced 2026-03-26 03:11:07 +00:00
Antoine GameBoard + Panel
This commit is contained in:
parent
b3499addc0
commit
60db101ce2
File diff suppressed because it is too large
Load Diff
9815
Assets/Prefabs/Gameworld.prefab
Normal file
9815
Assets/Prefabs/Gameworld.prefab
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/Prefabs/Gameworld.prefab.meta
Normal file
8
Assets/Prefabs/Gameworld.prefab.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 69fe9491767156248a652d9f4ad9374a
|
||||||
|
timeCreated: 1439494353
|
||||||
|
licenseType: Free
|
||||||
|
NativeFormatImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
6613
Assets/Scene/AntoineScene.unity
Normal file
6613
Assets/Scene/AntoineScene.unity
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/Scene/AntoineScene.unity.meta
Normal file
8
Assets/Scene/AntoineScene.unity.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: dc8046baf857b4140914bf2f53d4740d
|
||||||
|
timeCreated: 1439493992
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -87,101 +87,47 @@ NavMeshSettings:
|
|||||||
cellSize: .166666672
|
cellSize: .166666672
|
||||||
manualCellSize: 0
|
manualCellSize: 0
|
||||||
m_NavMeshData: {fileID: 0}
|
m_NavMeshData: {fileID: 0}
|
||||||
--- !u!1 &433953797
|
--- !u!1001 &454098392
|
||||||
GameObject:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
serializedVersion: 4
|
|
||||||
m_Component:
|
|
||||||
- 4: {fileID: 433953799}
|
|
||||||
- 212: {fileID: 433953798}
|
|
||||||
m_Layer: 0
|
|
||||||
m_Name: Bakcground
|
|
||||||
m_TagString: Untagged
|
|
||||||
m_Icon: {fileID: 0}
|
|
||||||
m_NavMeshLayer: 0
|
|
||||||
m_StaticEditorFlags: 0
|
|
||||||
m_IsActive: 1
|
|
||||||
--- !u!212 &433953798
|
|
||||||
SpriteRenderer:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 433953797}
|
|
||||||
m_Enabled: 1
|
|
||||||
m_CastShadows: 0
|
|
||||||
m_ReceiveShadows: 0
|
|
||||||
m_Materials:
|
|
||||||
- {fileID: 10754, guid: 0000000000000000e000000000000000, type: 0}
|
|
||||||
m_SubsetIndices:
|
|
||||||
m_StaticBatchRoot: {fileID: 0}
|
|
||||||
m_UseLightProbes: 1
|
|
||||||
m_ReflectionProbeUsage: 1
|
|
||||||
m_ProbeAnchor: {fileID: 0}
|
|
||||||
m_ScaleInLightmap: 1
|
|
||||||
m_PreserveUVs: 0
|
|
||||||
m_ImportantGI: 0
|
|
||||||
m_AutoUVMaxDistance: .5
|
|
||||||
m_AutoUVMaxAngle: 89
|
|
||||||
m_LightmapParameters: {fileID: 0}
|
|
||||||
m_SortingLayerID: 0
|
|
||||||
m_SortingOrder: -1
|
|
||||||
m_Sprite: {fileID: 21300000, guid: 03310a8200613c8458f91f05be6d82d2, type: 3}
|
|
||||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
|
||||||
--- !u!4 &433953799
|
|
||||||
Transform:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
m_PrefabParentObject: {fileID: 0}
|
|
||||||
m_PrefabInternal: {fileID: 0}
|
|
||||||
m_GameObject: {fileID: 433953797}
|
|
||||||
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_Children: []
|
|
||||||
m_Father: {fileID: 0}
|
|
||||||
m_RootOrder: 1
|
|
||||||
--- !u!1001 &1077754445
|
|
||||||
Prefab:
|
Prefab:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Modification:
|
m_Modification:
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: -279.655579
|
value: -67.4717407
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalPosition.y
|
propertyPath: m_LocalPosition.y
|
||||||
value: -60.679348
|
value: 44.3748474
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalPosition.z
|
propertyPath: m_LocalPosition.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalRotation.x
|
propertyPath: m_LocalRotation.x
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalRotation.y
|
propertyPath: m_LocalRotation.y
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalRotation.z
|
propertyPath: m_LocalRotation.z
|
||||||
value: 0
|
value: 0
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_LocalRotation.w
|
propertyPath: m_LocalRotation.w
|
||||||
value: 1
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 494730, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
- target: {fileID: 460810, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
propertyPath: m_RootOrder
|
propertyPath: m_RootOrder
|
||||||
value: 2
|
value: 1
|
||||||
objectReference: {fileID: 0}
|
objectReference: {fileID: 0}
|
||||||
m_RemovedComponents: []
|
m_RemovedComponents: []
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: e29ed8143ef4d7246ade0b7422726971, type: 2}
|
m_ParentPrefab: {fileID: 100100000, guid: 69fe9491767156248a652d9f4ad9374a, type: 2}
|
||||||
m_IsPrefabParent: 0
|
m_IsPrefabParent: 0
|
||||||
--- !u!1 &1255384573
|
--- !u!1 &1255384573
|
||||||
GameObject:
|
GameObject:
|
||||||
@ -268,45 +214,3 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 0}
|
m_Father: {fileID: 0}
|
||||||
m_RootOrder: 0
|
m_RootOrder: 0
|
||||||
--- !u!1001 &1800032770
|
|
||||||
Prefab:
|
|
||||||
m_ObjectHideFlags: 0
|
|
||||||
serializedVersion: 2
|
|
||||||
m_Modification:
|
|
||||||
m_TransformParent: {fileID: 0}
|
|
||||||
m_Modifications:
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.x
|
|
||||||
value: 14.4983673
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.y
|
|
||||||
value: 23.5802021
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalPosition.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.x
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.y
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.z
|
|
||||||
value: 0
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_LocalRotation.w
|
|
||||||
value: 1
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
- target: {fileID: 443136, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
propertyPath: m_RootOrder
|
|
||||||
value: 3
|
|
||||||
objectReference: {fileID: 0}
|
|
||||||
m_RemovedComponents: []
|
|
||||||
m_ParentPrefab: {fileID: 100100000, guid: c72ab7bf5b2cd13459155c9ea9f6acb1, type: 2}
|
|
||||||
m_IsPrefabParent: 0
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
fileFormatVersion: 2
|
fileFormatVersion: 2
|
||||||
guid: 92407044458d8d84186001acfac6326b
|
guid: adc97c3ddc2c5a949b950160e1b08077
|
||||||
timeCreated: 1439486839
|
timeCreated: 1439486839
|
||||||
licenseType: Free
|
licenseType: Free
|
||||||
DefaultImporter:
|
DefaultImporter:
|
||||||
|
|||||||
10209
Assets/SceneAntoine.unity
Normal file
10209
Assets/SceneAntoine.unity
Normal file
File diff suppressed because it is too large
Load Diff
8
Assets/SceneAntoine.unity.meta
Normal file
8
Assets/SceneAntoine.unity.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 92407044458d8d84186001acfac6326b
|
||||||
|
timeCreated: 1439493989
|
||||||
|
licenseType: Free
|
||||||
|
DefaultImporter:
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@ -6,20 +6,17 @@ public class ConstructionBehaviour : MonoBehaviour {
|
|||||||
public int ConstructionType =-1 ;
|
public int ConstructionType =-1 ;
|
||||||
public GameObject maisonHumain;
|
public GameObject maisonHumain;
|
||||||
public GameObject maisonZombie;
|
public GameObject maisonZombie;
|
||||||
public GameObject champ;
|
|
||||||
private GameObject SwitchPrefab;
|
private GameObject SwitchPrefab;
|
||||||
|
|
||||||
void OnMouseDown()
|
void OnMouseDown()
|
||||||
{
|
{
|
||||||
|
if (ConstructionType == -1)
|
||||||
int.TryParse(Input.inputString, out ConstructionType);
|
int.TryParse(Input.inputString, out ConstructionType);
|
||||||
switch (ConstructionType) {
|
switch (ConstructionType) {
|
||||||
case 1:
|
case 1:
|
||||||
SwitchPrefab = maisonHumain;
|
SwitchPrefab = maisonHumain;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
SwitchPrefab = champ;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
SwitchPrefab = maisonZombie;
|
SwitchPrefab = maisonZombie;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user