聲明 func HasScript(target entity, script ScriptID) bool go 參數 輸入 名稱 類型 描述 目標 entity 目標實體 腳本ID GraphID 腳本ID 返回 類型 描述 Bool 是否存在指定腳本