base game UI integrated
This commit is contained in:
@@ -36,8 +36,11 @@ public class Building : MonoBehaviour
|
||||
void ToggleOutlines(bool value){
|
||||
bool isMoving = Selector.movingBuilding==this;
|
||||
foreach(Outline outline in outlines){
|
||||
outline.enabled = value;
|
||||
outline.OutlineColor = (isMoving) ? Color.green : Color.yellow;
|
||||
// outline.enabled = value;
|
||||
outline.enabled=true;
|
||||
outline.OutlineColor = value ? Color.yellow : new Color(0.68f,0.68f,0.68f);
|
||||
outline.OutlineWidth = 5;
|
||||
// outline.OutlineColor = (isMoving) ? Color.green : Color.yellow;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user