// Use this for initialization
 void Start()
 {
     _texture       = videoRenderer.getWebCamTexture();
     _factory       = Hierarchy.GetComponentWithTag <UnitFactory>("UnitManager");
     _constructor   = Hierarchy.GetComponentWithTag <UnitConstructor>("DropDownController");
     _logController = Hierarchy.GetComponentWithTag <LogController>("LogController");
     _gManager      = Hierarchy.GetComponentWithTag <GridManager>("GridManager");
 }
Exemplo n.º 2
0
 private void Start()
 {
     mInstacne = GameObject.Find("UnitConstructor").GetComponent <UnitConstructor>();
     Hide();
 }
Exemplo n.º 3
0
 private void Start()
 {
     _dropdown      = Hierarchy.GetComponentWithTag <UnitConstructor>("DropDownController");
     _gManager      = Hierarchy.GetComponentWithTag <GridManager>("GridManager");
     _logController = Hierarchy.GetComponentWithTag <LogController>("LogController");
 }