Свойство | Тип | Описание | |
---|---|---|---|
diagonal | int | ||
direction | int | ||
formationMatrix | ].Vector3[ | ||
formationMatrixSize | int | ||
formationMatrixSizeTri | Vector2 | ||
numberOfElements | int | ||
unitNumber | int | ||
unitsGoingHere | List |
Метод | Описание | |
---|---|---|
AddUnit ( GameObject unit ) : void | ||
AddUnitMouseSelection ( GameObject unit ) : Vector3 | ||
AddUnitMouseSelectionTri ( GameObject unit ) : Vector3 | ||
Awake ( ) : void | ||
UnitLostTarget ( GameObject unit ) : void | ||
elementsInRow ( int actual_row ) : int | ||
setDirection ( Vector3 direction ) : void | ||
setFormationMatrix ( int fMSize ) : void | ||
setFormationMatrixTri ( Vector2 fMSize ) : void | ||
setUnitPosition ( GameObject unit ) : void | ||
setUnitPositionTri ( GameObject unit ) : void |
Метод | Описание | |
---|---|---|
fillFormationMatrix ( GameObject unit ) : void | ||
fillFormationMatrixTri ( GameObject unit ) : void | ||
getUnitOffSet ( GameObject unit ) : Vector3 |
public AddUnitMouseSelection ( GameObject unit ) : Vector3 | ||
unit | GameObject | |
Результат | Vector3 |
public AddUnitMouseSelectionTri ( GameObject unit ) : Vector3 | ||
unit | GameObject | |
Результат | Vector3 |
public UnitLostTarget ( GameObject unit ) : void | ||
unit | GameObject | |
Результат | void |
public elementsInRow ( int actual_row ) : int | ||
actual_row | int | |
Результат | int |
public setDirection ( Vector3 direction ) : void | ||
direction | Vector3 | |
Результат | void |
public setFormationMatrix ( int fMSize ) : void | ||
fMSize | int | |
Результат | void |
public setFormationMatrixTri ( Vector2 fMSize ) : void | ||
fMSize | Vector2 | |
Результат | void |
public setUnitPosition ( GameObject unit ) : void | ||
unit | GameObject | |
Результат | void |
public setUnitPositionTri ( GameObject unit ) : void | ||
unit | GameObject | |
Результат | void |