Feat/14 movement overhaul #20
@@ -192,10 +192,10 @@ func apply_skin(skin: PlayerSkin) -> void:
|
|||||||
skin_model = null
|
skin_model = null
|
||||||
_apply_color(skin.color_tint)
|
_apply_color(skin.color_tint)
|
||||||
|
|
||||||
func _set_procedural_visible(show: bool) -> void:
|
func _set_procedural_visible(on: bool) -> void:
|
||||||
for part in [torso, head, upper_arm_l, lower_arm_l, upper_arm_r, lower_arm_r, thigh_l, calf_l, thigh_r, calf_r]:
|
for part in [torso, head, upper_arm_l, lower_arm_l, upper_arm_r, lower_arm_r, thigh_l, calf_l, thigh_r, calf_r]:
|
||||||
if part:
|
if part:
|
||||||
part.visible = show
|
part.visible = on
|
||||||
|
|
||||||
func _apply_color(col: Color) -> void:
|
func _apply_color(col: Color) -> void:
|
||||||
var mat = StandardMaterial3D.new()
|
var mat = StandardMaterial3D.new()
|
||||||
|
|||||||
Reference in New Issue
Block a user