You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Protobuf;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
-
- public class MapManager : MonoBehaviour
- {
- // Start is called before the first frame update
- private bool mapFinished;
- private MessageOfMap map;
- void Start()
- {
- mapFinished = false;
- }
-
- // Update is called once per frame
- void Update()
- {
- if (!mapFinished && MessageReceiver.map != null)
- {
- map = MessageReceiver.map;
- //Debug.Log("valid map");
- mapFinished = true;
- }
- }
- }
|