概要
方法
列出一個紅色訊息到輸出,以 “TestService:” 預fix。
如果條件是真的,它會列出警告。
屬性
方法
Warn
void
如果條件是真的,它會列出警告。
參數
預設值:""
返回
void
範例程式碼
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")