public void Start() { tileMap = GameMap.Instance.tileMap; connectedGenericTileMap = GameMap.Instance.connectedGenericTileMap; interactionMap = gameObject.AddComponent <InteractionTileMap>(); objectMap = GameMap.Instance.objectMap; selectedObjects = new List <ThreeDimensionObject>(); }
private void InitConnectedTileMap() { connectedGenericTileMap = new GameObject("ConnectedTileObjects").AddComponent <ConnectedGenericTileMap>(); connectedGenericTileMap.transform.parent = transform; connectedGenericTileMap.transform.position = new Vector3(0f, 0.05f, 0f); }