public override void OnInspectorGUI()
    {
        MapEndless mapEndless = (MapEndless)target;

        if (DrawDefaultInspector())
        {
            //mapEndless.UpdateChunks ();
        }
    }
 void Awake()
 {
     if (MapEndless.instance == null)
     {
         DontDestroyOnLoad(this.gameObject);
         MapEndless.instance = this;
         /* OnAwake */
         OnAwake();
     }
     else
     {
         Destroy(this.gameObject);
     }
 }