聲明 func CreateFromPrefab(out var createdEntity entity<Entity>, prefab PrefabID) go 參數 輸入 名稱 類型 描述 預製體ID PrefabID 預製體ID 輸出 名稱 類型 描述 創建的實體 Entity 建立的實體