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;
        }
示例#3
0
        public FormGame()
        {
            m_Game = new GameLogic.GameManager();
            checkInternetConnection();

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

            if (m_LoginFormClosedByX)
            {
                m_WantToPlay = false;
            }
        }