예제 #1
0
        public void Start()
        {
            tileMap = GameMap.Instance.tileMap;
            connectedGenericTileMap = GameMap.Instance.connectedGenericTileMap;
            interactionMap          = gameObject.AddComponent <InteractionTileMap>();

            objectMap = GameMap.Instance.objectMap;

            selectedObjects = new List <ThreeDimensionObject>();
        }
예제 #2
0
 private void InitConnectedTileMap()
 {
     connectedGenericTileMap = new GameObject("ConnectedTileObjects").AddComponent <ConnectedGenericTileMap>();
     connectedGenericTileMap.transform.parent   = transform;
     connectedGenericTileMap.transform.position = new Vector3(0f, 0.05f, 0f);
 }