Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
W
wdlc_mjb_unity
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
wdlc_mjb_unity
Commits
26edaaee
Commit
26edaaee
authored
Jun 08, 2021
by
zhangzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
热启动广告,适配iOS
parent
4528b355
Hide whitespace changes
Inline
Side-by-side
Showing
50 changed files
with
268 additions
and
368 deletions
+268
-368
AdSDK.meta
Assets/AdSDK.meta
+1
-1
AD.meta
Assets/AdSDK/AD.meta
+1
-1
CSJ.meta
Assets/AdSDK/AD/CSJ.meta
+1
-1
PangleAdapterScripts.meta
Assets/AdSDK/AD/CSJ/PangleAdapterScripts.meta
+8
-0
Scripts.meta
Assets/AdSDK/AD/CSJ/PangleAdapterScripts/Scripts.meta
+8
-0
PangleSDK.meta
Assets/AdSDK/AD/CSJ/PangleSDK.meta
+8
-0
iOS.meta
Assets/AdSDK/AD/CSJ/PangleSDK/iOS.meta
+8
-0
NetWork.meta
Assets/AdSDK/NetWork.meta
+8
-0
AD.meta
Assets/Base/AdSDK/AD.meta
+1
-1
CSJ.meta
Assets/Base/AdSDK/AD/CSJ.meta
+1
-1
PangleAdapterScripts.meta
Assets/Base/AdSDK/AD/CSJ/PangleAdapterScripts.meta
+1
-1
Scripts.meta
Assets/Base/AdSDK/AD/CSJ/PangleAdapterScripts/Scripts.meta
+1
-1
PangleSDK.meta
Assets/Base/AdSDK/AD/CSJ/PangleSDK.meta
+1
-1
iOS.meta
Assets/Base/AdSDK/AD/CSJ/PangleSDK/iOS.meta
+1
-1
CallingNativeMethods.cs
Assets/Base/UnityTool/CallingNativeMethods.cs
+2
-6
AppInfoBean.cs
Assets/Game/Main/Scripts/Model/AppInfoBean.cs
+1
-1
CarPresenter.cs
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
+1
-1
AdUtils.cs
Assets/Game/Main/Scripts/Utils/AdUtils.cs
+10
-5
HomeInfoControl.cs
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
+10
-10
SettingControl.cs
Assets/Game/Main/Scripts/View/SettingControl.cs
+1
-1
TaskDiamandControl.cs
Assets/Game/Main/Scripts/View/TaskDiamandControl.cs
+1
-1
TitleControl.cs
Assets/Game/Main/Scripts/View/TitleControl.cs
+1
-1
IOSADManager.h
Assets/Plugins/iOS/AD/IOSADManager.h
+0
-16
IOSADManager.mm
Assets/Plugins/iOS/AD/IOSADManager.mm
+0
-51
UnitySignInWithApple.m.meta
Assets/Plugins/iOS/API/UnitySignInWithApple.m.meta
+0
-37
Bridage.meta
Assets/Plugins/iOS/Bridage.meta
+8
-0
BridageManager.h
Assets/Plugins/iOS/Bridage/BridageManager.h
+6
-4
BridageManager.h.meta
Assets/Plugins/iOS/Bridage/BridageManager.h.meta
+1
-1
BridageManager.m
Assets/Plugins/iOS/Bridage/BridageManager.m
+55
-48
BridageManager.m.meta
Assets/Plugins/iOS/Bridage/BridageManager.m.meta
+1
-1
Native.h
Assets/Plugins/iOS/Bridage/Native.h
+0
-0
Native.h.meta
Assets/Plugins/iOS/Bridage/Native.h.meta
+1
-1
Native.mm
Assets/Plugins/iOS/Bridage/Native.mm
+0
-0
Native.mm.meta
Assets/Plugins/iOS/Bridage/Native.mm.meta
+1
-1
UnitySignInWithApple.m
Assets/Plugins/iOS/Bridage/UnitySignInWithApple.m
+0
-0
UnitySignInWithApple.m.meta
Assets/Plugins/iOS/Bridage/UnitySignInWithApple.m.meta
+33
-0
KeychainItemManager.m
Assets/Plugins/iOS/KeyChain/KeychainItemManager.m
+3
-0
KeychainItemManager.m.meta
Assets/Plugins/iOS/KeyChain/KeychainItemManager.m.meta
+0
-47
KeychainItemWrapper.m.meta
Assets/Plugins/iOS/KeyChain/KeychainItemWrapper.m.meta
+1
-8
ViewController.h.meta
Assets/Plugins/iOS/WeChat/ViewController.h.meta
+0
-33
ViewController.m.meta
Assets/Plugins/iOS/WeChat/ViewController.m.meta
+0
-33
umeng_analytics.meta
Assets/Plugins/iOS/umeng_analytics.meta
+1
-2
UMAnalytics.framework.meta
...ts/Plugins/iOS/umeng_analytics/UMAnalytics.framework.meta
+20
-21
umeng_common.meta
Assets/Plugins/iOS/umeng_common.meta
+1
-2
UMCommon.framework.meta
Assets/Plugins/iOS/umeng_common/UMCommon.framework.meta
+3
-0
UMCommonLog.bundle.meta
Assets/Plugins/iOS/umeng_common/UMCommonLog.bundle.meta
+3
-0
InitProject.cs
Assets/Scripts/InitProject/InitProject.cs
+6
-3
Splash.cs
Assets/Scripts/Splash/Splash.cs
+8
-3
StartControl.cs
Assets/Scripts/StartControl.cs
+20
-1
packages-lock.json
Packages/packages-lock.json
+20
-20
No files found.
Assets/
Editor
.meta
→
Assets/
AdSDK
.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
2ccae94f868cb4d4aa6e4ea819a58db4
guid:
3bdf81920b9ea8e46abd100e083eefe7
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/
Plugins/iOS
/AD.meta
→
Assets/
AdSDK
/AD.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
c66f7e7746c4c404f888d1bf0c2c1cc2
guid:
66e2d68a3d594c442ba620e41fb79243
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/
Plugins/iOS/API
.meta
→
Assets/
AdSDK/AD/CSJ
.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
b803d513b69b14353a28e60eba7f5d42
guid:
047afee41e5ea4041b38650dde06204e
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/AdSDK/AD/CSJ/PangleAdapterScripts.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: 4de77bfbd9c014146a2b371280ff0f63
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/AdSDK/AD/CSJ/PangleAdapterScripts/Scripts.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: e8fc61bed8a2640c7a2c6d5a51574621
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/AdSDK/AD/CSJ/PangleSDK.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: 9216b5ab3159c44e594fa8e3a6bfcd90
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/AdSDK/AD/CSJ/PangleSDK/iOS.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: 9b3f9e305d4804719b5f4505912accf2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/AdSDK/NetWork.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: a75f8ac9bc3f8414cb9b1aca48735084
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Base/AdSDK/AD.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
66e2d68a3d594c442ba620e41fb79243
guid:
38d19574108d441eaa5582181c64bb45
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/AdSDK/AD/CSJ.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
047afee41e5ea4041b38650dde06204e
guid:
e24a43648931942f585b1e978897070c
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/AdSDK/AD/CSJ/PangleAdapterScripts.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
4de77bfbd9c014146a2b371280ff0f63
guid:
cfc4dd6437e6949a6b3cf650644717eb
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/AdSDK/AD/CSJ/PangleAdapterScripts/Scripts.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
e8fc61bed8a2640c7a2c6d5a51574621
guid:
ffb8242b88e1447d89f706e2d20c59f2
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/AdSDK/AD/CSJ/PangleSDK.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
9216b5ab3159c44e594fa8e3a6bfcd90
guid:
1ebb9d9396d39490a94d173d8a366356
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/AdSDK/AD/CSJ/PangleSDK/iOS.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
9b3f9e305d4804719b5f4505912accf2
guid:
6dc6d9800179c4592a824310321fdf9b
folderAsset: yes
DefaultImporter:
externalObjects: {}
...
...
Assets/Base/UnityTool/CallingNativeMethods.cs
View file @
26edaaee
...
...
@@ -76,17 +76,15 @@ public class CallingNativeMethods
/// </summary>
public
void
SendWxLogin
()
{
bool
isInstalled
=
false
;
isInstalled
=
_isWechatInstalled
();
if
(
isInstalled
)
{
_WechatLogin
(
WX_APPID
,
state
,
universalLink
);
_WechatLogin
(
Constant
.
Instance
.
WX_APP_ID
,
"state"
,
Constant
.
Instance
.
universalLink
);
}
else
{
Debug
.
Log
(
"请先安装微信客户端!"
);
ToastPlugin
.
ToastHelper
.
ShowToast
(
"请先安装微信客户端!"
);
}
}
...
...
@@ -97,8 +95,6 @@ public class CallingNativeMethods
public
void
LoginCallBack
(
string
msg
)
{
Debug
.
Log
(
"微信登录的回调在这里: "
+
msg
);
// 051AdH000dJnkL1KyK300KeBye2AdH0d
BingWxLogin
(
msg
);
}
#endif
...
...
Assets/Game/Main/Scripts/Model/AppInfoBean.cs
View file @
26edaaee
...
...
@@ -41,7 +41,7 @@ public class @switch
public
int
qq
{
get
;
set
;
}
/// <summary>
/// app进入后台多久后打开app显示
开屏
广告
/// app进入后台多久后打开app显示广告
/// (单位:秒)
/// </summary>
public
int
splash_time
{
get
;
set
;
}
...
...
Assets/Game/Main/Scripts/Presenter/CarPresenter.cs
View file @
26edaaee
...
...
@@ -120,7 +120,7 @@ public class CarPresenter : CarContract.Presenter
mView
.
showShouhuo
(
bean
.
landStatusDTO
.
landId
);
//mView.showFlyFruit();
#if UNITY_IOS
if
(
UserInfoManager
.
Instance
().
shubiao
!=
0
)
if
(
Constant
.
Instance
.
shubiao
)
{
mView
.
showFlyFruit
();
}
...
...
Assets/Game/Main/Scripts/Utils/AdUtils.cs
View file @
26edaaee
...
...
@@ -73,14 +73,19 @@ public class AdUtils
ReportVideo
(
actionName
);
callback
(
true
);
//EventCenter.Broadcast(MyEventType.FlyVideoRedPack);
#if UNITY_IOS
if
(
UserInfoManager
.
Instance
().
shubiao
!=
0
)
// 热启动播放的激励视频, 不增加每日存钱罐, 所以也不播放每日存钱罐的动画
if
(
actionName
!=
"hot_lunch_reward"
)
{
EventCenter
.
Broadcast
(
MyEventType
.
FlyVideoRedPack
);
}
#if UNITY_IOS
if
(
Constant
.
Instance
.
shubiao
)
{
EventCenter
.
Broadcast
(
MyEventType
.
FlyVideoRedPack
);
}
#else
EventCenter
.
Broadcast
(
MyEventType
.
FlyVideoRedPack
);
EventCenter
.
Broadcast
(
MyEventType
.
FlyVideoRedPack
);
#endif
}
}
public
void
onAdShow
()
...
...
Assets/Game/Main/Scripts/View/HomeInfoControl.cs
View file @
26edaaee
...
...
@@ -47,39 +47,39 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
// 顶部钱旁的提现按钮
GameObject
withdraw
=
transform
.
Find
(
"Title/bg/withdraw"
).
gameObject
;
withdraw
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
withdraw
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 每日提现
GameObject
meirijiangli
=
transform
.
Find
(
"Title/meirijiangli"
).
gameObject
;
meirijiangli
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
meirijiangli
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 明日存钱罐
GameObject
pigbank
=
transform
.
Find
(
"Title/pigbank"
).
gameObject
;
pigbank
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
pigbank
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 收货奖励
GameObject
Harvestreward
=
transform
.
Find
(
"BottomFun/Harvestreward"
).
gameObject
;
Harvestreward
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
Harvestreward
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 幸运转盘
//GameObject GameObject = transform.Find("BottomFun/GameObject").gameObject;
//GameObject.SetActive(
UserInfoManager.Instance().shubiao != 0
);
//GameObject.SetActive(
Constant.Instance.shubiao
);
// 天天提现
GameObject
EveryDayWithdraw
=
transform
.
Find
(
"BottomFun/EveryDayWithdraw"
).
gameObject
;
EveryDayWithdraw
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
EveryDayWithdraw
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 种植
GameObject
Plant
=
transform
.
Find
(
"BottomFun/plant"
).
gameObject
;
Plant
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
Plant
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 漂浮红包
GameObject
Coin1
=
transform
.
Find
(
"Car_list_bg/FloatCoin/Coin1"
).
gameObject
;
Coin1
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
Coin1
.
SetActive
(
Constant
.
Instance
.
shubiao
);
// 下面的红包
GameObject
receive_red_oack
=
transform
.
Find
(
"Car_list_bg/Park/receive_red_oack"
).
gameObject
;
receive_red_oack
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
receive_red_oack
.
SetActive
(
Constant
.
Instance
.
shubiao
);
}
// 判断是否是刘海屏
...
...
@@ -101,7 +101,7 @@ public class HomeInfoControl : MonoBehaviour, HomeContract.View
transform
.
Find
(
"Title"
).
GetComponent
<
RectTransform
>().
anchoredPosition
=
new
Vector2
(
titlePosition
.
x
,
titlePosition
.
y
-
45
);
}
if
(
UserInfoManager
.
Instance
().
shubiao
==
0
)
if
(
Constant
.
Instance
.
shubiao
)
{
transform
.
Find
(
"BottomFun/Dailytasks"
).
GetComponent
<
RectTransform
>().
anchoredPosition
=
new
Vector2
(
285
,
1170
);
}
...
...
Assets/Game/Main/Scripts/View/SettingControl.cs
View file @
26edaaee
...
...
@@ -48,7 +48,7 @@ public class SettingControl : MonoBehaviour
private
void
CheckShubiao
()
{
// 退出登录按钮
logoutButton
.
SetActive
(
UserInfoManager
.
Instance
().
shubiao
!=
0
);
logoutButton
.
SetActive
(
Constant
.
Instance
.
shubiao
);
}
#endif
...
...
Assets/Game/Main/Scripts/View/TaskDiamandControl.cs
View file @
26edaaee
...
...
@@ -69,7 +69,7 @@ public class TaskDiamandControl : MonoBehaviour
#if UNITY_IOS
int
[]
sidArray
=
new
int
[]
{
2594
,
2590
,
2596
,
2591
};
List
<
int
>
sidList
=
new
List
<
int
>(
sidArray
);
if
(
UserInfoManager
.
Instance
().
shubiao
==
0
&&
sidList
.
Contains
(
bean
.
taskList
[
i
].
sid
))
if
(
Constant
.
Instance
.
shubiao
&&
sidList
.
Contains
(
bean
.
taskList
[
i
].
sid
))
{
continue
;
}
...
...
Assets/Game/Main/Scripts/View/TitleControl.cs
View file @
26edaaee
...
...
@@ -23,7 +23,7 @@ public class TitleControl : MonoBehaviour
#if UNITY_IOS
if
(
UserInfoManager
.
Instance
().
shubiao
==
0
)
if
(
Constant
.
Instance
.
shubiao
)
{
transform
.
Find
(
"withdraw"
).
gameObject
.
SetActive
(
false
);
}
...
...
Assets/Plugins/iOS/AD/IOSADManager.h
deleted
100644 → 0
View file @
4528b355
//
// IOSADManager.h
// caiyuan
//
// Created by 张哲 on 2021/3/8.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface
IOSADManager
:
NSObject
@end
NS_ASSUME_NONNULL_END
Assets/Plugins/iOS/AD/IOSADManager.mm
deleted
100644 → 0
View file @
4528b355
//
// IOSADManager.m
// caiyuan
//
// Created by 张哲 on 2021/3/8.
//
#import "IOSADManager.h"
#import <BUAdSDK/BUAdSDK.h>
#import <UMCommon/UMCommon.h>
#import "ViewController.h"
@implementation IOSADManager
#if defined(__cplusplus)
extern "C" {
#endif
// 初始化穿山甲SDK
void InitCSJSDK(char *appId)
{
NSLog(@"穿山甲appid:%@", [NSString stringWithUTF8String:appId]);
//穿山甲
[BUAdSDKManager setAppID:[NSString stringWithUTF8String:appId]];
// [BUAdSDKManager setAppID:@"5000546"];
[BUAdSDKManager setGDPR:0];
[BUAdSDKManager setCoppa:0];
[BUAdSDKManager setIsPaidApp:NO];
[BUAdSDKManager setLoglevel:BUAdSDKLogLevelDebug];
}
// 初始化友盟SDK
void InitUMSDK(char *appKey)
{
NSLog(@"unity传值:%@", [NSString stringWithUTF8String:appKey]);
[UMConfigure initWithAppkey:[NSString stringWithUTF8String:appKey] channel:@"App Store"];
[UMConfigure setLogEnabled: NO];
}
void ReSendIDFA()
{
[[ViewController shareManager] sendIDFA];
}
#if defined(__cplusplus)
}
#endif
@end
Assets/Plugins/iOS/API/UnitySignInWithApple.m.meta
deleted
100644 → 0
View file @
4528b355
fileFormatVersion: 2
guid: 1620ed796125a46a0ba04c2a4de7b6fe
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
- first:
tvOS: tvOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/Bridage.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: f42460d150f4a430db0dcc11c3987704
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/
WeChat/ViewControll
er.h
→
Assets/Plugins/iOS/
Bridage/BridageManag
er.h
View file @
26edaaee
...
...
@@ -10,12 +10,14 @@
#import "WXApi.h"
NS_ASSUME_NONNULL_BEGIN
@interface
ViewController
:
UIResponder
<
UIApplicationDelegate
,
WXApiDelegate
>
+
(
instancetype
)
shareManager
;
@interface
BridageManager
:
UIResponder
<
UIApplicationDelegate
,
WXApiDelegate
>
-
(
void
)
sendUdid
;
@property
(
nonatomic
,
strong
)
NSString
*
udid
;
@property
(
nonatomic
,
strong
)
NSString
*
idfaString
;
-
(
void
)
sendIDFA
;
+
(
instancetype
)
shareManager
;
-
(
void
)
bridage
;
@end
...
...
Assets/Plugins/iOS/
AD/IOSADManager.mm
.meta
→
Assets/Plugins/iOS/
Bridage/BridageManager.h
.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
d6e0521b9d1e445d188514697e917d63
guid:
b24133e6186444d3f85a6c2035ce141c
PluginImporter:
externalObjects: {}
serializedVersion: 2
...
...
Assets/Plugins/iOS/
WeChat/ViewControll
er.m
→
Assets/Plugins/iOS/
Bridage/BridageManag
er.m
View file @
26edaaee
//
//
ViewControll
er.m
//
BridageManag
er.m
// iosPlugins
//
// Created by os on 2020/4/10.
// Copyright © 2020 os. All rights reserved.
//
#import "
ViewControll
er.h"
#import "
BridageManag
er.h"
#import "UserData.h"
#import "BGKeychainTool.h"
#import <BUAdSDK/BUAdSDK.h>
#import <UMCommon/UMCommon.h>
@interface
BridageManager
()
@end
@implementation
BridageManager
@implementation
ViewController
+
(
instancetype
)
shareManager
{
static
dispatch_once_t
onceToken
;
static
ViewControll
er
*
instance
;
static
BridageManag
er
*
instance
;
dispatch_once
(
&
onceToken
,
^
{
instance
=
[[
ViewControll
er
alloc
]
init
];
instance
=
[[
BridageManag
er
alloc
]
init
];
});
return
instance
;
}
//微信发送请求到第三方应用时,会回调到该方法
-
(
void
)
onReq
:
(
BaseReq
*
)
req
{}
//第三方应用发送到微信的请求处理后的响应结果,会回调到该方法
...
...
@@ -78,73 +86,72 @@ char* MakeStringCopy(const char* string){
//信息提示
void
OnShowMessage
(
const
char
*
msg
)
{
UnitySendMessage
(
"
WxLogin"
,
"LoginCallBack"
,
MakeStringCopy
(
msg
));
UnitySendMessage
(
"
LoginView"
,
"LoginCallBack"
,
MakeStringCopy
(
msg
));
}
void
OnShareShowMessage
(
const
char
*
msg
)
{
UnitySendMessage
(
"MainPanel"
,
"ShareCallBack"
,
MakeStringCopy
(
msg
));
//
UnitySendMessage("MainPanel","ShareCallBack",MakeStringCopy(msg));
}
-
(
void
)
sendUdid
-
(
void
)
bridage
{
UserData
*
data
=
[[
UserData
alloc
]
init
];
NSDictionary
*
userDic
=
[
data
readPlist
];
if
([
BGKeychainTool
getDeviceIDInKeychain
].
length
>
0
)
{
NSString
*
udid
=
[
BGKeychainTool
getDeviceIDInKeychain
];
const
char
*
codeInfo
=
[
udid
cStringUsingEncoding
:
NSASCIIStringEncoding
];
SendUDID
(
codeInfo
);
_
udid
=
[
BGKeychainTool
getDeviceIDInKeychain
];
}
if
(
userDic
[
@"idfa"
])
{
NSString
*
idfaString
=
[
NSString
stringWithFormat
:
@"%@"
,
userDic
[
@"idfa"
]];
const
char
*
codeInfo
=
[
idfaString
cStringUsingEncoding
:
NSASCIIStringEncoding
];
SendIDFA
(
codeInfo
);
_idfaString
=
[
NSString
stringWithFormat
:
@"%@"
,
userDic
[
@"idfa"
]];
}
const
char
*
login
=
[
@"login"
cStringUsingEncoding
:
NSASCIIStringEncoding
];
SendTouristLogin
(
login
);
}
-
(
void
)
sendIDFA
void
SendTouristLogin
(
const
char
*
str
)
{
UserData
*
data
=
[[
UserData
alloc
]
init
]
;
NSDictionary
*
userDic
=
[
data
readPlist
];
// UnitySendMessage("Main Camera","TouristLogin", MakeStringCopy(str))
;
}
if
([
BGKeychainTool
getDeviceIDInKeychain
].
length
>
0
)
{
NSString
*
udid
=
[
BGKeychainTool
getDeviceIDInKeychain
];
const
char
*
codeInfo
=
[
udid
cStringUsingEncoding
:
NSASCIIStringEncoding
];
SendUDID
(
codeInfo
);
#if defined(__cplusplus)
extern
"C"
{
#endif
// 初始化穿山甲SDK
void
InitCSJSDK
(
char
*
appId
)
{
NSLog
(
@"穿山甲appid:%@"
,
[
NSString
stringWithUTF8String
:
appId
]);
//穿山甲
[
BUAdSDKManager
setAppID
:[
NSString
stringWithUTF8String
:
appId
]];
// [BUAdSDKManager setAppID:@"5000546"];
[
BUAdSDKManager
setGDPR
:
0
];
[
BUAdSDKManager
setCoppa
:
0
];
[
BUAdSDKManager
setIsPaidApp
:
NO
];
[
BUAdSDKManager
setLoglevel
:
BUAdSDKLogLevelDebug
];
}
if
(
userDic
[
@"idfa"
])
{
NSString
*
idfaString
=
[
NSString
stringWithFormat
:
@"%@"
,
userDic
[
@"idfa"
]];
const
char
*
codeInfo
=
[
idfaString
cStringUsingEncoding
:
NSASCIIStringEncoding
];
SendSplashIDFA
(
codeInfo
);
// 初始化友盟SDK
void
InitUMSDK
(
char
*
appKey
)
{
NSLog
(
@"unity传值:%@"
,
[
NSString
stringWithUTF8String
:
appKey
]);
[
UMConfigure
initWithAppkey
:[
NSString
stringWithUTF8String
:
appKey
]
channel
:
@"App Store"
];
[
UMConfigure
setLogEnabled
:
NO
];
}
typedef
void
(
*
ResultHandler
)
(
const
char
*
device
,
const
char
*
idfa
);
void
BridageDeviceAndIDFA
(
ResultHandler
resultHandler
)
{
resultHandler
([
BridageManager
shareManager
].
udid
.
UTF8String
,
[
BridageManager
shareManager
].
idfaString
.
UTF8String
);
}
#if defined(__cplusplus)
}
void
SendSplashIDFA
(
const
char
*
str
)
{
UnitySendMessage
(
"Canvas"
,
"SetIDFA"
,
MakeStringCopy
(
str
));
}
void
SendUDID
(
const
char
*
str
)
{
UnitySendMessage
(
"Main Camera"
,
"SetUDID"
,
MakeStringCopy
(
str
));
}
void
SendIDFA
(
const
char
*
str
)
{
UnitySendMessage
(
"Main Camera"
,
"SetIDFA"
,
MakeStringCopy
(
str
));
}
void
SendTouristLogin
(
const
char
*
str
)
{
UnitySendMessage
(
"Main Camera"
,
"TouristLogin"
,
MakeStringCopy
(
str
));
}
#endif
...
...
Assets/Plugins/iOS/
AD/IOSADManager.h
.meta
→
Assets/Plugins/iOS/
Bridage/BridageManager.m
.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
5b6a371f436e0434c96e6f5089f57bfb
guid:
9231f6ad929664f4596a448a72a740f4
PluginImporter:
externalObjects: {}
serializedVersion: 2
...
...
Assets/Plugins/iOS/
WeChat
/Native.h
→
Assets/Plugins/iOS/
Bridage
/Native.h
View file @
26edaaee
File moved
Assets/Plugins/iOS/
WeChat
/Native.h.meta
→
Assets/Plugins/iOS/
Bridage
/Native.h.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
517b97a0c8d97412e872329c9a0e7e03
guid:
a15f2fa74b26f4e03b1434ed9bde5ea1
PluginImporter:
externalObjects: {}
serializedVersion: 2
...
...
Assets/Plugins/iOS/
WeChat
/Native.mm
→
Assets/Plugins/iOS/
Bridage
/Native.mm
View file @
26edaaee
File moved
Assets/Plugins/iOS/
WeChat
/Native.mm.meta
→
Assets/Plugins/iOS/
Bridage
/Native.mm.meta
View file @
26edaaee
fileFormatVersion: 2
guid:
bd76b9bd0af0d4972bf48a162d64eed2
guid:
1688625fa7cd347bf983bec6b3e15644
PluginImporter:
externalObjects: {}
serializedVersion: 2
...
...
Assets/Plugins/iOS/
API
/UnitySignInWithApple.m
→
Assets/Plugins/iOS/
Bridage
/UnitySignInWithApple.m
View file @
26edaaee
File moved
Assets/Plugins/iOS/Bridage/UnitySignInWithApple.m.meta
0 → 100644
View file @
26edaaee
fileFormatVersion: 2
guid: 81f60b393d9a64277b6f8db14ce0c4b5
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/KeyChain/KeychainItemManager.m
View file @
26edaaee
...
...
@@ -11,6 +11,7 @@
#import <AppTrackingTransparency/AppTrackingTransparency.h>
#import "KeychainItemWrapper.h"
#import "UserData.h"
#import "BridageManager.h"
NSString
*
const
FCLogin
=
@"SKLogin"
;
NSString
*
const
FCIdentifier
=
@"SKIdentifier"
;
...
...
@@ -36,6 +37,8 @@ NSString * const FCIdentifier = @"SKIdentifier";
NSString
*
idfa
=
[[[
ASIdentifierManager
sharedManager
]
advertisingIdentifier
]
UUIDString
];
if
(
idfa
.
length
)
{
[
data
writeValue
:
idfa
Key
:
@"idfa"
];
[[
BridageManager
shareManager
]
bridage
];
}
}
}];
...
...
Assets/Plugins/iOS/KeyChain/KeychainItemManager.m.meta
View file @
26edaaee
...
...
@@ -11,24 +11,6 @@ PluginImporter:
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
: Any
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
...
...
@@ -39,42 +21,13 @@ PluginImporter:
second:
enabled: 0
settings:
CPU: AnyCPU
DefaultValueInitialized: true
OS: AnyOS
- first:
Standalone: Linux64
second:
enabled: 0
settings:
CPU: AnyCPU
- first:
Standalone: OSXUniversal
second:
enabled: 0
settings:
CPU: x86_64
- first:
Standalone: Win
second:
enabled: 0
settings:
CPU: x86
- first:
Standalone: Win64
second:
enabled: 0
settings:
CPU: x86_64
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
CPU: AnyCPU
CompileFlags:
FrameworkDependencies:
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/KeyChain/KeychainItemWrapper.m.meta
View file @
26edaaee
...
...
@@ -16,19 +16,12 @@ PluginImporter:
second:
enabled: 0
settings:
Exclude Android: 1
Exclude Editor: 1
Exclude Linux64: 1
Exclude OSXUniversal: 1
Exclude Win: 1
Exclude Win64: 1
Exclude iOS: 0
- first:
Android: Android
second:
enabled: 0
settings:
CPU: ARMv7
- first:
Any:
second:
...
...
@@ -47,7 +40,7 @@ PluginImporter:
second:
enabled: 0
settings:
CPU:
AnyCPU
CPU:
x86_64
- first:
Standalone: OSXUniversal
second:
...
...
Assets/Plugins/iOS/WeChat/ViewController.h.meta
deleted
100644 → 0
View file @
4528b355
fileFormatVersion: 2
guid: 3ca9905b6a7184e59adb16669bfbe932
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/WeChat/ViewController.m.meta
deleted
100644 → 0
View file @
4528b355
fileFormatVersion: 2
guid: cbcb521cb7b7e45d4bddf9861d5217ec
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings:
AddToEmbeddedBinaries: false
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/umeng_analytics.meta
View file @
26edaaee
fileFormatVersion: 2
guid: ccfd845a8e6a04b35ae06b55c7a7a5ea
folderAsset: yes
timeCreated: 1506304401
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/umeng_analytics/UMAnalytics.framework.meta
View file @
26edaaee
fileFormatVersion: 2
guid: b2df5f25d45684b11a962550a24bc31a
folderAsset: yes
timeCreated: 1506304401
licenseType: Free
PluginImporter:
externalObjects: {}
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
data:
first:
Any:
second:
enabled: 0
settings: {}
data:
first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
data:
first:
iPhone: iOS
second:
enabled: 1
settings: {}
- first:
Any:
second:
enabled: 0
settings: {}
- first:
Editor: Editor
second:
enabled: 0
settings:
DefaultValueInitialized: true
- first:
iPhone: iOS
second:
enabled: 1
settings: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/umeng_common.meta
View file @
26edaaee
fileFormatVersion: 2
guid: 053cdf1283ee84e2fbf00722dc80b879
folderAsset: yes
timeCreated: 1506304401
licenseType: Free
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/Plugins/iOS/umeng_common/UMCommon.framework.meta
View file @
26edaaee
...
...
@@ -6,8 +6,11 @@ PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
...
...
Assets/Plugins/iOS/umeng_common/UMCommonLog.bundle.meta
View file @
26edaaee
...
...
@@ -6,8 +6,11 @@ PluginImporter:
serializedVersion: 2
iconMap: {}
executionOrder: {}
defineConstraints: []
isPreloaded: 0
isOverridable: 0
isExplicitlyReferenced: 0
validateReferences: 1
platformData:
- first:
Any:
...
...
Assets/Scripts/InitProject/InitProject.cs
View file @
26edaaee
...
...
@@ -89,7 +89,10 @@ public class InitProject : MonoBehaviour
public
void
OnClickAgree
()
{
PlayerPrefs
.
SetInt
(
"IsFirstShowYxDialog"
,
1
);
XyDialog
.
SetActive
(
false
);
if
(
XyDialog
!=
null
)
{
XyDialog
.
SetActive
(
false
);
}
SceneManager
.
LoadSceneAsync
(
1
);
//跳转场景
}
/// <summary>
...
...
@@ -143,7 +146,7 @@ public class InitProject : MonoBehaviour
public
void
SetIDFA
(
string
str
)
{
Debug
.
Log
(
"IDFA = "
+
str
);
UserInfoManager
.
Instance
()
.
idfa
=
str
;
Constant
.
Instance
.
idfa
=
str
;
}
/// <summary>
...
...
@@ -153,7 +156,7 @@ public class InitProject : MonoBehaviour
public
void
SetUDID
(
string
str
)
{
Debug
.
Log
(
"UDID = "
+
str
);
UserInfoManager
.
Instance
().
udid
=
str
;
Constant
.
Instance
.
device
=
str
;
}
#endif
...
...
Assets/Scripts/Splash/Splash.cs
View file @
26edaaee
...
...
@@ -68,13 +68,18 @@ public class Splash : MonoBehaviour
//获取App信息
HttpTool
.
Instance
.
_Get
(
"app/v1/app_info"
,
null
,
new
Action
<
AppInfoBean
>((
bean
)
=>
{
if
(
int
.
Parse
(
UserInfoManager
.
Instance
().
build
)
<
bean
.
sdgowi
.
vc
)
PlayerDataControl
.
Instance
.
PrivacyPolicyUrl
=
bean
.
h5_url
.
privacy
;
PlayerDataControl
.
Instance
.
UserAgreementUrl
=
bean
.
h5_url
.
user
;
PlayerDataControl
.
Instance
.
AboutUsUrl
=
bean
.
h5_url
.
aboutUs
;
Constant
.
Instance
.
splash_time
=
bean
.
@switch
.
splash_time
;
if
(
int
.
Parse
(
Constant
.
Instance
.
vc
)
<
bean
.
sdgowi
.
vc
)
{
UserInfoManager
.
Instance
().
shubiao
=
1
;
Constant
.
Instance
.
shubiao
=
true
;
}
else
{
UserInfoManager
.
Instance
().
shubiao
=
0
;
Constant
.
Instance
.
shubiao
=
false
;
}
//UserInfoManager.Instance().shubiao = 1;
novelInfo
();
...
...
Assets/Scripts/StartControl.cs
View file @
26edaaee
...
...
@@ -206,7 +206,7 @@ public class StartControl : MonoBehaviour
}
else
{
Show
Splash
Ad
();
Show
Reward
Ad
();
}
}
}
...
...
@@ -236,11 +236,30 @@ public class StartControl : MonoBehaviour
Debug
.
unityLogger
.
Log
(
"Unity后台返回策略"
);
}
private
void
ShowRewardAd
()
{
AdUtils
.
PlayRewardAd
(
"hot_lunch_reward"
,
new
Action
<
bool
>((
cb
)
=>
{
if
(
cb
)
{
HttpTool
.
Instance
.
_Post
(
"app/v1/cscmnq/hotStart"
,
null
,
new
Action
<
EmptyModel
>((
bean
)
=>
{
EventCenter
.
Broadcast
(
MyEventType
.
FlyHongbao
);
}),
new
Action
<
string
,
string
>((
code
,
errMsg
)
=>
{
Debug
.
unityLogger
.
Log
(
"热启动看广告加红包请求Error Code"
+
code
+
"msg"
+
errMsg
);
}));
}
}));
}
private
void
ShowSplashAd
()
{
AdManager
.
Instance
.
LoadSplashAd
(
new
SplshAdListener
());
}
private
sealed
class
SplshAdListener
:
ZXADSplashListener
{
public
void
onAdShow
()
...
...
Packages/packages-lock.json
View file @
26edaaee
...
...
@@ -11,7 +11,7 @@
"com.unity.modules.animation"
:
"1.0.0"
,
"com.unity.modules.uielements"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.common"
:
{
"version"
:
"2.1.0"
,
...
...
@@ -21,21 +21,21 @@
"com.unity.2d.sprite"
:
"1.0.0"
,
"com.unity.modules.uielements"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.path"
:
{
"version"
:
"2.1.0"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.pixel-perfect"
:
{
"version"
:
"2.1.0"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.psdimporter"
:
{
"version"
:
"2.1.6"
,
...
...
@@ -46,7 +46,7 @@
"com.unity.2d.animation"
:
"3.2.5"
,
"com.unity.2d.sprite"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.sprite"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -63,7 +63,7 @@
"com.unity.2d.common"
:
"2.0.2"
,
"com.unity.2d.path"
:
"2.0.6"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.2d.tilemap"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -78,7 +78,7 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.analytics"
:
{
"version"
:
"3.3.5"
,
...
...
@@ -87,21 +87,21 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.collab-proxy"
:
{
"version"
:
"1.2.16"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ext.nunit"
:
{
"version"
:
"1.0.6"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ide.rider"
:
{
"version"
:
"1.1.4"
,
...
...
@@ -110,21 +110,21 @@
"dependencies"
:
{
"com.unity.test-framework"
:
"1.1.1"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ide.vscode"
:
{
"version"
:
"1.2.3"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.mathematics"
:
{
"version"
:
"1.1.0"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.multiplayer-hlapi"
:
{
"version"
:
"1.0.8"
,
...
...
@@ -133,7 +133,7 @@
"dependencies"
:
{
"nuget.mono-cecil"
:
"0.1.6-preview"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.purchasing"
:
{
"version"
:
"2.2.1"
,
...
...
@@ -142,7 +142,7 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.test-framework"
:
{
"version"
:
"1.1.20"
,
...
...
@@ -153,7 +153,7 @@
"com.unity.modules.imgui"
:
"1.0.0"
,
"com.unity.modules.jsonserialize"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.textmeshpro"
:
{
"version"
:
"2.1.1"
,
...
...
@@ -162,14 +162,14 @@
"dependencies"
:
{
"com.unity.ugui"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.timeline"
:
{
"version"
:
"1.2.17"
,
"depth"
:
0
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.ugui"
:
{
"version"
:
"1.0.0"
,
...
...
@@ -188,14 +188,14 @@
"com.unity.modules.vr"
:
"1.0.0"
,
"com.unity.modules.xr"
:
"1.0.0"
},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"nuget.mono-cecil"
:
{
"version"
:
"0.1.6-preview"
,
"depth"
:
1
,
"source"
:
"registry"
,
"dependencies"
:
{},
"url"
:
"https://packages.unity.c
n
"
"url"
:
"https://packages.unity.c
om
"
},
"com.unity.modules.ai"
:
{
"version"
:
"1.0.0"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment