Esempio n. 1
0
        public void Start()
        {
            UpdateSurroundingAreaInformation();
            Counter = 0;
            CheckFrequency = 30;


            Manager = GameManagerLocator.Manager;
        }
        public void Awake()
        {
            Manager = GameManagerLocator.Manager;

            gameObject.AddComponent<BoxCollider>();

            TriggerCollider = GetComponent<BoxCollider>();

            TriggerCollider.isTrigger = true;
        }
Esempio n. 3
0
        public FormGame()
        {
            m_Game = new GameLogic.GameManager();
            checkInternetConnection();

            while (!ensureValidConfiguration() && !m_LoginFormClosedByX)
            {
                ;
            }
            InitializeComponent();

            if (m_LoginFormClosedByX)
            {
                m_WantToPlay = false;
            }
        }