요약
메서드
출력에 빨간색 메시지를 인쇄하고, *"TestService:"*로 시작합니다.
조건이 참이면 출력하고, 그렇지 않으면 경고를 출력합니다.
속성
메서드
Warn
()
조건이 참이면 출력하고, 그렇지 않으면 경고를 출력합니다.
매개 변수
기본값: ""
반환
()
코드 샘플
This code would print Warning: this action is invalid to the output, in yellow text.
FunctionalTest:Warn1
local TestService = game:GetService("TestService")
TestService:Warn(false, "this action is invalid")