Example #1
0
 public void CallTerrainManager()
 {
     if (loader = GameObject.Find(GameSystem.instance.map_name).GetComponent <TerrainLoader>())
     {
         loader.LoadUnLoad();
     }
 }
Example #2
0
 private void OnTriggerEnter(Collider other)
 {
     if (!other.CompareTag("Player"))
     {
         return;
     }
     loader.LoadUnLoad();
 }