umg傳遞數據到HUD的第三種方法-按事件驅動

前面講了兩種,一個是直接傳成員變量,一種是get()函數。 回顧下: 1,在hud的構造函數藍圖中,傳遞controller的指針過去,作爲成員變量 2,(1)傳成員變量 this->value = controller->value; (2)傳遞函數 getXXX <-> return node 對 好比 std::string getStr() { std::string newValue =
相關文章
相關標籤/搜索