This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
using Object = UnityEngine.Object; | |
public class QuickAccessWindow : EditorWindow | |
{ | |
[System.Serializable] | |
public class Category |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
WHAT ARE WE WORKING WITH | |
--Dimension, DimensionType, ServerWorld | |
-- There exists a 1:1:1 relationship between each of these, e.g. there will be one DimensionType instance | |
and one Dimension instance for a given ServerWorld, and those DimensionType and Dimension instances will only be | |
used on that worldserver | |
--ServerWorld | |
-- The server-specific version of the World, which holds all the block and chunk data, entities, tile entities, etc.\ | |
for a given dimension. You won't be making these yourself or extending the class, but you'll need to find and use the | |
ServerWorld for your Dimension to teleport the player there. |