feat: 角色展示v1.2
This commit is contained in:
@@ -29,7 +29,11 @@ namespace SceneView
|
||||
Destroy(outline);
|
||||
}
|
||||
_focusObject = value;
|
||||
_focusObject.AddComponent<Outline>();
|
||||
var outlineNew= _focusObject.AddComponent<Outline>();
|
||||
outlineNew.effectColor = Color.blue;
|
||||
outlineNew.effectDistance = new Vector2(1, -1);
|
||||
outlineNew.useGraphicAlpha = true;
|
||||
|
||||
OnChangeFocusObject?.Invoke(value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user