Example #1
0
 public void LoadNextFloor()
 {
     if (mSceneId != (int)PLACES.Dungeon + 1)
     {
         place = PLACES.Dungeon;
     }
     else
     {
         FindObjectOfType <LevelGeneration>().NextFloor();
     }
 }
Example #2
0
        /// <summary>
        ///     Implements the OnDisconnection method of the IDTExtensibility2 interface.
        ///     Receives notification that the Add-in is being unloaded.
        /// </summary>
        /// <param term='disconnectMode'>
        ///      Describes how the Add-in is being unloaded.
        /// </param>
        /// <param term='custom'>
        ///      Array of parameters that are host application specific.
        /// </param>
        /// <seealso class='IDTExtensibility2' />
        public void OnDisconnection(Extensibility.ext_DisconnectMode disconnectMode, ref System.Array custom)
        {
            addInInstance = null;
            PLACES.Destroy();
            MAPS.Destroy();
            PROJECTS.Destroy();
            ABOUT.Destroy();
            DocumentStorage.Destroy();
            MMUtils.MindManager = null;
            m_myTab.Delete();
            m_myTab = null;

            System.GC.Collect();
        }
 public void SetPlaces(PLACES place1, PLACES place2)
 {
     places[0] = place1;
     places[1] = place1;
 }
 public void TakeItToReconditPlace(Chorrito chorro, PLACES place1, PLACES place2)
 {
     chorro.SetPlaces(place1, place2);
 }
Example #5
0
 public void ChangePlace(PLACES place)
 {
     AsyncLoadLevel((int)place + 1);
 }