Example #1
0
    void Awake()
    {
        GameObject go = GameObject.Find("Game Master");

        if (go != null)
        {
            gameMaster = go.GetComponent <GameMaster>();
        }
        map = GetComponent <cMap>();
    }
Example #2
0
        public MainForm()
        {
            //
            // The InitializeComponent() call is required for Windows Forms designer support.
            //
            InitializeComponent();

            PLloc  = new GMarkerGoogle(plMPos, (Bitmap)Image.FromFile(resPath + "\\pl.png"));
            GCSloc = new GMarkerGoogle(gcsMPos, GMarkerGoogleType.green_pushpin); GCSloc = new GMarkerGoogle(gcsMPos, (Bitmap)Image.FromFile(resPath + "\\gcs.png"));


            optAttitude    = cAttitude.PYRAMID;
            optMap         = cMap.MAP;
            dataRecFS      = new StreamWriter(dataRecPath + "\\Data_Sensor" + postFix("txt"));
            ftConf._saveRC = true;
            //GCSloc = new GMarkerGoogle(markerPos, picGCS);

            //
            // TODO: Add constructor code after the InitializeComponent() call.
            //
        }