Skip to content
Snippets Groups Projects
MainMenu.unity 14.9 KiB
Newer Older
  • Learn to ignore specific revisions
  • %YAML 1.1
    %TAG !u! tag:unity3d.com,2011:
    --- !u!29 &1
    OcclusionCullingSettings:
      m_ObjectHideFlags: 0
      serializedVersion: 2
      m_OcclusionBakeSettings:
        smallestOccluder: 5
        smallestHole: 0.25
        backfaceThreshold: 100
      m_SceneGUID: 00000000000000000000000000000000
      m_OcclusionCullingData: {fileID: 0}
    --- !u!104 &2
    RenderSettings:
      m_ObjectHideFlags: 0
      serializedVersion: 9
      m_Fog: 0
      m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
      m_FogMode: 3
      m_FogDensity: 0.01
      m_LinearFogStart: 0
      m_LinearFogEnd: 300
      m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
      m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
      m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
      m_AmbientIntensity: 1
      m_AmbientMode: 3
      m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
      m_SkyboxMaterial: {fileID: 0}
      m_HaloStrength: 0.5
      m_FlareStrength: 1
      m_FlareFadeSpeed: 3
      m_HaloTexture: {fileID: 0}
      m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
      m_DefaultReflectionMode: 0
      m_DefaultReflectionResolution: 128
      m_ReflectionBounces: 1
      m_ReflectionIntensity: 1
      m_CustomReflection: {fileID: 0}
      m_Sun: {fileID: 0}
      m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
      m_UseRadianceAmbientProbe: 0
    --- !u!157 &3
    LightmapSettings:
      m_ObjectHideFlags: 0
      serializedVersion: 12
      m_GIWorkflowMode: 1
      m_GISettings:
        serializedVersion: 2
        m_BounceScale: 1
        m_IndirectOutputScale: 1
        m_AlbedoBoost: 1
        m_EnvironmentLightingMode: 0
        m_EnableBakedLightmaps: 0
        m_EnableRealtimeLightmaps: 0
      m_LightmapEditorSettings:
        serializedVersion: 12
        m_Resolution: 2
        m_BakeResolution: 40
        m_AtlasSize: 1024
        m_AO: 0
        m_AOMaxDistance: 1
        m_CompAOExponent: 1
        m_CompAOExponentDirect: 0
        m_ExtractAmbientOcclusion: 0
        m_Padding: 2
        m_LightmapParameters: {fileID: 0}
        m_LightmapsBakeMode: 1
        m_TextureCompression: 1
        m_FinalGather: 0
        m_FinalGatherFiltering: 1
        m_FinalGatherRayCount: 256
        m_ReflectionCompression: 2
        m_MixedBakeMode: 2
    
        m_BakeBackend: 1
    
        m_PVRSampling: 1
        m_PVRDirectSampleCount: 32
    
        m_PVRSampleCount: 512
    
        m_PVRBounces: 2
    
        m_PVREnvironmentSampleCount: 256
    
        m_PVREnvironmentReferencePointCount: 2048
    
        m_PVRFilteringMode: 1
        m_PVRDenoiserTypeDirect: 1
        m_PVRDenoiserTypeIndirect: 1
        m_PVRDenoiserTypeAO: 1
    
        m_PVRFilterTypeDirect: 0
        m_PVRFilterTypeIndirect: 0
        m_PVRFilterTypeAO: 0
    
        m_PVREnvironmentMIS: 1
    
        m_PVRCulling: 1
        m_PVRFilteringGaussRadiusDirect: 1
        m_PVRFilteringGaussRadiusIndirect: 5
        m_PVRFilteringGaussRadiusAO: 2
        m_PVRFilteringAtrousPositionSigmaDirect: 0.5
        m_PVRFilteringAtrousPositionSigmaIndirect: 2
        m_PVRFilteringAtrousPositionSigmaAO: 1
        m_ExportTrainingData: 0
        m_TrainingDataDestination: TrainingData
        m_LightProbeSampleCountMultiplier: 4
      m_LightingDataAsset: {fileID: 0}
      m_LightingSettings: {fileID: 0}
    --- !u!196 &4
    NavMeshSettings:
      serializedVersion: 2
      m_ObjectHideFlags: 0
      m_BuildSettings:
        serializedVersion: 2
        agentTypeID: 0
        agentRadius: 0.5
        agentHeight: 2
        agentSlope: 45
        agentClimb: 0.4
        ledgeDropHeight: 0
        maxJumpAcrossDistance: 0
        minRegionArea: 2
        manualCellSize: 0
        cellSize: 0.16666667
        manualTileSize: 0
        tileSize: 256
        accuratePlacement: 0
        maxJobWorkers: 0
        preserveTilesOutsideBounds: 0
        debug:
          m_Flags: 0
      m_NavMeshData: {fileID: 0}
    
    --- !u!1 &22100156
    
    Horváth István's avatar
    Horváth István committed
    GameObject:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      serializedVersion: 6
      m_Component:
    
      - component: {fileID: 22100159}
      - component: {fileID: 22100158}
      - component: {fileID: 22100160}
    
    Horváth István's avatar
    Horváth István committed
      m_Layer: 0
    
      m_Name: Main Camera
      m_TagString: MainCamera
    
    Horváth István's avatar
    Horváth István committed
      m_Icon: {fileID: 0}
      m_NavMeshLayer: 0
      m_StaticEditorFlags: 0
      m_IsActive: 1
    
    --- !u!20 &22100158
    Camera:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 22100156}
      m_Enabled: 1
      serializedVersion: 2
    
      m_ClearFlags: 2
      m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
    
      m_projectionMatrixMode: 1
      m_GateFitMode: 2
      m_FOVAxisMode: 0
      m_SensorSize: {x: 36, y: 24}
      m_LensShift: {x: 0, y: 0}
      m_FocalLength: 50
      m_NormalizedViewPortRect:
        serializedVersion: 2
        x: 0
        y: 0
        width: 1
        height: 1
      near clip plane: 0.3
      far clip plane: 1000
      field of view: 60
      orthographic: 1
    
      m_Depth: -1
      m_CullingMask:
        serializedVersion: 2
        m_Bits: 4294967295
      m_RenderingPath: -1
      m_TargetTexture: {fileID: 0}
      m_TargetDisplay: 0
    
      m_AllowDynamicResolution: 0
      m_ForceIntoRT: 0
    
      m_StereoConvergence: 10
      m_StereoSeparation: 0.022
    --- !u!4 &22100159
    
    Horváth István's avatar
    Horváth István committed
    Transform:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
    
      m_GameObject: {fileID: 22100156}
    
    Horváth István's avatar
    Horváth István committed
      m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
    
      m_LocalPosition: {x: -10, y: -1, z: -10}
    
    Horváth István's avatar
    Horváth István committed
      m_LocalScale: {x: 1, y: 1, z: 1}
      m_Children: []
      m_Father: {fileID: 0}
    
    Horváth István's avatar
    Horváth István committed
      m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
    
    --- !u!114 &22100160
    
    Horváth István's avatar
    Horváth István committed
    MonoBehaviour:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
    
      m_GameObject: {fileID: 22100156}
    
    Horváth István's avatar
    Horváth István committed
      m_Enabled: 1
      m_EditorHideFlags: 0
      m_Script: {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3}
      m_Name: 
      m_EditorClassIdentifier: 
      m_RenderShadows: 1
      m_RequiresDepthTextureOption: 2
      m_RequiresOpaqueTextureOption: 2
      m_CameraType: 0
      m_Cameras: []
      m_RendererIndex: -1
      m_VolumeLayerMask:
        serializedVersion: 2
        m_Bits: 1
      m_VolumeTrigger: {fileID: 0}
      m_VolumeFrameworkUpdateModeOption: 2
    
    Horváth István's avatar
    Horváth István committed
      m_Antialiasing: 0
      m_AntialiasingQuality: 2
      m_StopNaN: 0
      m_Dithering: 0
      m_ClearDepth: 1
      m_AllowXRRendering: 1
      m_RequiresDepthTexture: 0
      m_RequiresColorTexture: 0
      m_Version: 2
    
    --- !u!1001 &585061364
    PrefabInstance:
    
      m_ObjectHideFlags: 0
    
      serializedVersion: 2
      m_Modification:
        m_TransformParent: {fileID: 0}
        m_Modifications:
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_RootOrder
    
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalPosition.x
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalPosition.y
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalPosition.z
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalRotation.w
          value: 1
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalRotation.x
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalRotation.y
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalRotation.z
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalEulerAnglesHint.x
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalEulerAnglesHint.y
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 2360183991406698723, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_LocalEulerAnglesHint.z
          value: 0
          objectReference: {fileID: 0}
        - target: {fileID: 7988164159729549365, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
          propertyPath: m_Name
          value: GameManager
          objectReference: {fileID: 0}
        m_RemovedComponents: []
      m_SourcePrefab: {fileID: 100100000, guid: 87a9db821fc436b488939bd8b9b24982, type: 3}
    
    --- !u!1 &1584077025
    GameObject:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      serializedVersion: 6
      m_Component:
      - component: {fileID: 1584077027}
      - component: {fileID: 1584077026}
    
      - component: {fileID: 1584077028}
    
      m_TagString: Untagged
      m_Icon: {fileID: 0}
      m_NavMeshLayer: 0
      m_StaticEditorFlags: 0
      m_IsActive: 1
    --- !u!114 &1584077026
    MonoBehaviour:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 1584077025}
      m_Enabled: 1
      m_EditorHideFlags: 0
      m_Script: {fileID: 11500000, guid: 3d083e3f3ad0bdc42b212e5bed740707, type: 3}
      m_Name: 
      m_EditorClassIdentifier: 
    
      minTowerPlacingAttempts: 5
      maxTowerPlacingAttempts: 10
      minTowerDestroyAttempts: 0
      maxTowerDestroyAttempts: 3
      towerDestroyProbability: 0.4
      minTowerUpgradeAttempts: 0
      maxTowerUpgradeAttempts: 3
      towerUpgradeProbability: 0.4
      minUnitDeploymentAttempts: 3
      maxUnitDeploymentAttempts: 10
      towerPlacingDelay: 0.25
      towerTypes:
      - {fileID: 11400000, guid: a2978ddc11d13fd43bdf581244985ea0, type: 2}
      - {fileID: 11400000, guid: f299e01e73a41d5498e4b3ebc22c4afe, type: 2}
      - {fileID: 11400000, guid: bc8ca3c42ec58f44bb985de36537d877, type: 2}
      unitTypes:
      - {fileID: 11400000, guid: 990eddc6120b95548a91484d5cad18ff, type: 2}
      - {fileID: 11400000, guid: 7cde7bea9bf73ac44bd6563d6b5d7aeb, type: 2}
    
      simulationManager: {fileID: 1584077028}
    
    --- !u!4 &1584077027
    Transform:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 1584077025}
      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: 3
      m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
    
    --- !u!114 &1584077028
    MonoBehaviour:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 1584077025}
      m_Enabled: 1
      m_EditorHideFlags: 0
      m_Script: {fileID: 11500000, guid: cf7c5a8235d14edca54533665a0d3ee8, type: 3}
      m_Name: 
      m_EditorClassIdentifier: 
      overviewConfig: {fileID: 11400000, guid: 7c8cbf053badd4b41b80657b3ac3f9b0, type: 2}
      economyConfig: {fileID: 11400000, guid: 81bfec33eeaebc34587067be5f4845a9, type: 2}
      worldConfig: {fileID: 11400000, guid: f37879d5fb4127c42985f515a7ab96c3, type: 2}
      mainCamera: {fileID: 22100158}
    
    --- !u!1 &1622117628
    GameObject:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      serializedVersion: 6
      m_Component:
      - component: {fileID: 1622117630}
      - component: {fileID: 1622117629}
      - component: {fileID: 1622117631}
      m_Layer: 5
      m_Name: UI
      m_TagString: Untagged
      m_Icon: {fileID: 0}
      m_NavMeshLayer: 0
      m_StaticEditorFlags: 0
      m_IsActive: 1
    --- !u!114 &1622117629
    MonoBehaviour:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 1622117628}
      m_Enabled: 1
      m_EditorHideFlags: 0
      m_Script: {fileID: 11500000, guid: f21c074d86024caca2a0034ce4f53f73, type: 3}
      m_Name: 
      m_EditorClassIdentifier: 
    
      m_PanelSettings: {fileID: 11400000, guid: b399c3b8dee3dbb42a2aad4e86cbc638, type: 2}
      m_ParentUI: {fileID: 0}
      sourceAsset: {fileID: 9197481963319205126, guid: 53ef477818f630d4fba6cf6c4fb2baea, type: 3}
      m_SortingOrder: 0
    
    --- !u!4 &1622117630
    
    Transform:
      m_ObjectHideFlags: 0
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
    
      m_GameObject: {fileID: 1622117628}
    
      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_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
    
    --- !u!114 &1622117631
    MonoBehaviour:
    
    Horváth István's avatar
    Horváth István committed
      m_ObjectHideFlags: 0
    
      m_CorrespondingSourceObject: {fileID: 0}
      m_PrefabInstance: {fileID: 0}
      m_PrefabAsset: {fileID: 0}
      m_GameObject: {fileID: 1622117628}
      m_Enabled: 1
      m_EditorHideFlags: 0
      m_Script: {fileID: 11500000, guid: bd5ff973fabe4977b60c0a9681cec3df, type: 3}
      m_Name: 
      m_EditorClassIdentifier: 
    
      gameRules: 'In this game, two players face each other, trying to destroy the other''s
        castle with units while defending theirs with towers. The game is divided into
        rounds. Every round consists of 3 phases.
    
        #First phase: Building
    
        In
        this phase, first the blue and then the red player can build, upgrade, and destroy
        their towers. The players can choose a tower from the bottom-side bar and place
        it on any of the highlighted squares if they have enough money. On the right
        side of the screen are shown the stats of the selected tower. If a tower from
        the gamefield is selected, the players can also upgrade it, or destroy it for
        a refund.
    
        #Second phase: Unit training
    
        In the second phase, following
        the team order stated in the first phase, the players can buy units and plan
        their route to the enemy''s castle. Choosing a unit is similar to choosing a
        tower, but after clicking on one of them from the bottom bar, if the player has
        enough money, the unit gets queued up in one of the barracks and will be spawned
        in the last phase. When clicking on one of the barracks, the players can add
        a checkpoint to those units'' paths that will spawn from that barrack by clicking
        on a reachable tile with a left-click, or remove a checkpoint with a right-click.
        The brightness of the checkpoints indicates their order: the brightest checkpoint
        is the last before the enemy castle. Note that the players have the same budget
        for the towers and the units, and they have to manage it accordingly to succeed.
    
        #Third
        phase: Attacking
    
        In this phase, the players can only inspect their fight.
        The units that are left alive from the previous rounds continue their journey
        into the enemy base, while the ones purchased in this round start to deploy from
        the barracks. When a unit reaches its destination, it damages it and gets destroyed.
        If one castle gets destroyed until the end of the round, the enemy team wins.
        If both get destroyed, the game is tied.
    
        When hovering the cursor over
        a unit or a castle, a healthbar appears, showing its current health.'