Commit ad2c8473 authored by 16홍선우's avatar 16홍선우

Production Selection UI (Management UI) enabled &

Skill set UI enabled (Map UI)
parent 93bd7d89
fileFormatVersion: 2
guid: f9ebde5d4668c1b4d923e3d7927f1278
folderAsset: yes
timeCreated: 1518327971
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: defaultMat
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.8, g: 0.8, b: 0.8, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
fileFormatVersion: 2
guid: 5ad4a214ca7f3484484bd04076aa338e
timeCreated: 1518327971
licenseType: Free
NativeFormatImporter:
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,24 +8,46 @@ public class UIManager : MonoBehaviour {
public GameObject ManagementUI;
public GameObject QuestUI;
public void MapUIActive()
public GameObject SkillSet; //** Map UI -> Does it need to be in MapUI.cs?
public GameObject UnitSelUI; //** Production Selection in Management UI -> Do they need to be in ManagementUI.cs?
public GameObject BuildingSelUI;
// public GameObject Tier1, Tier2, Tier3, Tier4; // for tab under tab
// public GameObject CIty, CityBuilding, NormalBuilding;
public void MapUIActive() // Map UI tab
{
MapUI.SetActive(true);
ManagementUI.SetActive(false);
QuestUI.SetActive(false);
}
public void ManagementUIActive()
public void ManagementUIActive() // Management UI tab
{
ManagementUI.SetActive(true);
MapUI.SetActive(false);
QuestUI.SetActive(false);
}
public void QuestUIActive()
public void QuestUIActive() // Quest UI tab
{
QuestUI.SetActive(true);
MapUI.SetActive(false);
ManagementUI.SetActive(false);
}
public void SkillSetActive() //** Map UI
{
SkillSet.SetActive(!SkillSet.activeSelf);
}
public void UnitSelUIActive() //** Production Selection in Management UI
{
UnitSelUI.SetActive(true);
BuildingSelUI.SetActive(false);
}
public void BuildingSelUIActive()
{
UnitSelUI.SetActive(false);
BuildingSelUI.SetActive(true);
}
}
m_EditorVersion: 2017.3.0f3
m_EditorVersion: 2017.1.1f1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment