Beispiel #1
0
//        private float scaleFactorX = 1;
//        private float scaleFactorY = 1;
//        private float scaleFactorZ = 1;

        // Use this for initialization
        void Start()
        {
            StartCoroutine("WaitAndLoad");
            highlightGridPrefab = Resources.Load <GameObject>("HighlightGrid");
            Debug.Log(highlightGridPrefab);
            highlightGrid = Instantiate(highlightGridPrefab, transform).GetComponent <HighlightGrid>();
        }
 // Use this for initialization
 void Start()
 {
     hasLocalHighlight = false;
     highlightGrid     = FindObjectOfType <HighlightGrid>();
 }