Exemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            base.OnInspectorGUI();

            GUILayout.Space(20f);

            if (GUILayout.Button("Save World"))
            {
                m_BlockWorld.SaveWorld();
            }

            if (GUILayout.Button("Load Nearby Chunks"))
            {
                LoadAroundCamera();
            }

            if (GUILayout.Button("Clear World"))
            {
                m_BlockWorld.ClearWorld();
            }
        }