コード例 #1
0
 // 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");
 }
コード例 #2
0
 private void Start()
 {
     mInstacne = GameObject.Find("UnitConstructor").GetComponent <UnitConstructor>();
     Hide();
 }
コード例 #3
0
 private void Start()
 {
     _dropdown      = Hierarchy.GetComponentWithTag <UnitConstructor>("DropDownController");
     _gManager      = Hierarchy.GetComponentWithTag <GridManager>("GridManager");
     _logController = Hierarchy.GetComponentWithTag <LogController>("LogController");
 }