Commit f1b5d1d5 authored by 김주영's avatar 김주영

UI works!

parent c7c2d4cd
This source diff could not be displayed because it is too large. You can view the blob instead.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CivModel;
public class HexTile : MonoBehaviour
......
fileFormatVersion: 2
guid: a9a4dbc34bad0dc4eb1302dc4646729d
guid: d9c203eade061484ea0fe0f615a83955
folderAsset: yes
DefaultImporter:
externalObjects: {}
......
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CivModel;
public class UIManager : MonoBehaviour
{
GameObject mapUI;
// Use this for initialization
void Start()
{
mapUI = GameObject.Find("MapUI");
}
// Update is called once per frame
void Update()
{
}
public void onClick(GameObject go)
{
if (go.activeSelf == false)
{
go.SetActive(true);
if (go != mapUI) mapUI.SetActive(false);
}
else
{
go.SetActive(false);
if (go != mapUI) mapUI.SetActive(true);
}
}
}
fileFormatVersion: 2
guid: 022491211cd651a4c92de28671373b2b
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CivModel;
public class Unit : MonoBehaviour {
......
public enum Units {
using CivModel;
public enum Units {
HwanPioneer,
HwanBrainwashedEmuKnight,
HwanDecentralizedMilitary,
......
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