コード例 #1
0
        void TriggerToast(int cursorTileX, int cursorTileY)
        {
            var sceneInfo = mapMetadata.GetSceneInfo(cursorTileX, cursorTileY);
            if (sceneInfo == null)
                WebInterface.RequestScenesInfoAroundParcel(new Vector2(cursorTileX, cursorTileY), 1);

            toastView.Populate(new Vector2Int(cursorTileX, cursorTileY), sceneInfo);
        }