开源 企业版 高校版 私有云 模力方舟 AI 队友
代码拉取完成,页面将自动刷新
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
已有帐号? 立即登录
文件
master
分支 (14)
标签 (438)
master
2019.3
2020.2
2020.1
2018.4
2017.4
2019.2
2019.1
2018.3
2018.2
2017.2
2018.1
2017.1
2017.3
2019年3月13日f1
202020a10
202010b8
2019年3月12日f1
202020a9
202010b7
2018年4月22日f1
202010b6
202020a8
2019年3月11日f1
2019年3月10日f1
202020a7
2018年4月21日f1
202010b5
2019年3月9日f1
2019年3月8日f1
2017439f1
202010b4
2019年3月7日f1
2018年4月20日f1
master
分支 (14)
标签 (438)
master
2019.3
2020.2
2020.1
2018.4
2017.4
2019.2
2019.1
2018.3
2018.2
2017.2
2018.1
2017.1
2017.3
2019年3月13日f1
202020a10
202010b8
2019年3月12日f1
202020a9
202010b7
2018年4月22日f1
202010b6
202020a8
2019年3月11日f1
2019年3月10日f1
202020a7
2018年4月21日f1
202010b5
2019年3月9日f1
2019年3月8日f1
2017439f1
202010b4
2019年3月7日f1
2018年4月20日f1
克隆/下载
克隆/下载
提示
下载代码请复制以下命令到终端执行
为确保你提交的代码身份被 Gitee 正确识别,请执行以下命令完成配置
初次使用 SSH 协议进行代码克隆、推送等操作时,需按下述提示完成 SSH 配置
1 生成 RSA 密钥
2 获取 RSA 公钥内容,并配置到 SSH公钥
在 Gitee 上使用 SVN,请访问 使用指南
使用 HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议 配置并使用私人令牌 替代登录密码进行克隆、推送等操作
Username for 'https://gitee.com': userName
Password for 'https://userName@gitee.com': # 私人令牌
master
分支 (14)
标签 (438)
master
2019.3
2020.2
2020.1
2018.4
2017.4
2019.2
2019.1
2018.3
2018.2
2017.2
2018.1
2017.1
2017.3
2019年3月13日f1
202020a10
202010b8
2019年3月12日f1
202020a9
202010b7
2018年4月22日f1
202010b6
202020a8
2019年3月11日f1
2019年3月10日f1
202020a7
2018年4月21日f1
202010b5
2019年3月9日f1
2019年3月8日f1
2017439f1
202010b4
2019年3月7日f1
2018年4月20日f1
UnityCsReference
/
Runtime
/
Export
/
iOS
/
iOS.deprecated.cs
UnityCsReference
/
Runtime
/
Export
/
iOS
/
iOS.deprecated.cs
iOS.deprecated.cs 25.90 KB
一键复制 编辑 原始数据 按行查看 历史
Unity Technologies 提交于 2019年10月17日 18:21 +08:00 . Unity 202010a9 C# reference source code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600
// Unity C# reference source
// Copyright (c) Unity Technologies. For terms of use, see
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License
// this is just one big file to get all deprecated api together
// as there are no upsides to keep them around in scattered files
//
// about using: UNITY_IPHONE_API || UNITY_ANDROID_API
// i have no idea why we do android api here but i guess lets keep it to be on the safe side
using System;
using System.Collections;
namespace UnityEngine
{
//
// iPhoneSettings
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneScreenOrientation enumeration is deprecated. Please use ScreenOrientation instead (UnityUpgradable) -> ScreenOrientation", true)]
public enum iPhoneScreenOrientation
{
Unknown,
Portrait,
PortraitUpsideDown,
LandscapeLeft,
LandscapeRight,
AutoRotation,
Landscape
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneNetworkReachability enumeration is deprecated. Please use NetworkReachability instead (UnityUpgradable) -> NetworkReachability", true)]
public enum iPhoneNetworkReachability
{
NotReachable,
ReachableViaCarrierDataNetwork,
[Obsolete] ReachableViaWiFiNetwork
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneGeneration enumeration is deprecated. Please use iOS.DeviceGeneration instead (UnityUpgradable) -> UnityEngine.iOS.DeviceGeneration", true)]
public enum iPhoneGeneration
{
Unknown,
iPhone,
iPhone3G,
iPhone3GS,
iPodTouch1Gen,
iPodTouch2Gen,
iPodTouch3Gen,
iPad1Gen,
iPhone4,
iPodTouch4Gen,
iPad2Gen,
iPhone4S,
iPad3Gen,
iPhone5,
iPodTouch5Gen,
iPadMini1Gen,
iPad4Gen,
iPhone5C,
iPhone5S,
iPhoneUnknown,
iPadUnknown,
iPodTouchUnknown
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
partial class iPhoneSettings
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("screenOrientation property is deprecated. Please use Screen.orientation instead (UnityUpgradable) -> Screen.orientation", true)]
public static iPhoneScreenOrientation screenOrientation { get { return default(iPhoneScreenOrientation); } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("uniqueIdentifier property is deprecated. Please use SystemInfo.deviceUniqueIdentifier instead (UnityUpgradable) -> SystemInfo.deviceUniqueIdentifier", true)]
public static string uniqueIdentifier { get { return string.Empty; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("name property is deprecated (UnityUpgradable). Please use SystemInfo.deviceName instead (UnityUpgradable) -> SystemInfo.deviceName", true)]
public static string name { get { return string.Empty; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("model property is deprecated. Please use SystemInfo.deviceModel instead (UnityUpgradable) -> SystemInfo.deviceModel", true)]
public static string model { get { return string.Empty; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("systemName property is deprecated. Please use SystemInfo.operatingSystem instead (UnityUpgradable) -> SystemInfo.operatingSystem", true)]
public static string systemName { get { return string.Empty; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("internetReachability property is deprecated. Please use Application.internetReachability instead (UnityUpgradable) -> Application.internetReachability", true)]
public static iPhoneNetworkReachability internetReachability { get { return default(iPhoneNetworkReachability); } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("systemVersion property is deprecated. Please use iOS.Device.systemVersion instead (UnityUpgradable) -> UnityEngine.iOS.Device.systemVersion", true)]
public static string systemVersion { get { return string.Empty; } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("generation property is deprecated. Please use iOS.Device.generation instead (UnityUpgradable) -> UnityEngine.iOS.Device.generation", true)]
public static iPhoneGeneration generation { get { return default(iPhoneGeneration); } }
}
public partial class iPhoneSettings
{
[Obsolete("verticalOrientation property is deprecated. Please use Screen.orientation == ScreenOrientation.Portrait instead.", false)]
public static bool verticalOrientation { get { return false; } }
[Obsolete("screenCanDarken property is deprecated. Please use (Screen.sleepTimeout != SleepTimeout.NeverSleep) instead.", false)]
public static bool screenCanDarken { get { return false; } }
[Obsolete("StartLocationServiceUpdates method is deprecated. Please use Input.location.Start instead.", true)]
public static void StartLocationServiceUpdates(float desiredAccuracyInMeters, float updateDistanceInMeters)
{
}
[Obsolete("StartLocationServiceUpdates method is deprecated. Please use Input.location.Start instead.", true)]
public static void StartLocationServiceUpdates(float desiredAccuracyInMeters)
{
}
[Obsolete("StartLocationServiceUpdates method is deprecated. Please use Input.location.Start instead.", true)]
public static void StartLocationServiceUpdates()
{
}
[Obsolete("StopLocationServiceUpdates method is deprecated. Please use Input.location.Stop instead.", true)]
public static void StopLocationServiceUpdates()
{
}
[Obsolete("locationServiceEnabledByUser property is deprecated. Please use Input.location.isEnabledByUser instead.", true)]
public static bool locationServiceEnabledByUser { get { return false; } }
}
//
// iPhoneTouch
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneTouchPhase enumeration is deprecated. Please use TouchPhase instead (UnityUpgradable) -> TouchPhase", true)]
public enum iPhoneTouchPhase
{
Began,
Moved,
Stationary,
Ended,
Canceled
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneTouch struct is deprecated. Please use Touch instead (UnityUpgradable) -> Touch", true)]
public struct iPhoneTouch
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("positionDelta property is deprecated. Please use Touch.deltaPosition instead (UnityUpgradable) -> Touch.deltaPosition", true)]
public Vector2 positionDelta { get { return new Vector2(); } }
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("timeDelta property is deprecated. Please use Touch.deltaTime instead (UnityUpgradable) -> Touch.deltaTime", true)]
public float timeDelta { get { return default(int); } }
public int fingerId { get { return default(int); } }
public Vector2 position { get { return default(Vector2); } }
public Vector2 deltaPosition { get { return default(Vector2); } }
public float deltaTime { get { return default(float); } }
public int tapCount { get { return default(int); } }
public iPhoneTouchPhase phase { get { return default(iPhoneTouchPhase); } }
}
//
// iPhoneUtils
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneMovieControlMode enumeration is deprecated. Please use FullScreenMovieControlMode instead (UnityUpgradable) -> FullScreenMovieControlMode", true)]
public enum iPhoneMovieControlMode
{
Full,
Minimal,
[Obsolete] CancelOnTouch,
Hidden,
[Obsolete] VolumeOnly
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneMovieScalingMode enumeration is deprecated. Please use FullScreenMovieScalingMode instead (UnityUpgradable) -> FullScreenMovieScalingMode", true)]
public enum iPhoneMovieScalingMode
{
None,
AspectFit,
AspectFill,
Fill
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public class iPhoneUtils
{
// we want to avoid obsolete warnings:
// if method is not marked as obsolete and uses obsolete types we get warning
// so prototypes for c-side calls will use ints and we manually create default-params overloads
[Obsolete("PlayMovie method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovie(string path, Color bgColor, iPhoneMovieControlMode controlMode, iPhoneMovieScalingMode scalingMode) {}
[Obsolete("PlayMovie method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovie(string path, Color bgColor, iPhoneMovieControlMode controlMode) {}
[Obsolete("PlayMovie method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovie(string path, Color bgColor) {}
[Obsolete("PlayMovieURL method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovieURL(string url, Color bgColor, iPhoneMovieControlMode controlMode, iPhoneMovieScalingMode scalingMode) {}
[Obsolete("PlayMovieURL method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovieURL(string url, Color bgColor, iPhoneMovieControlMode controlMode) {}
[Obsolete("PlayMovieURL method is deprecated. Please use Handheld.PlayFullScreenMovie instead (UnityUpgradable) -> [mscorlib] System.Boolean Handheld.PlayFullScreenMovie(*)")]
public static void PlayMovieURL(string url, Color bgColor) {}
[Obsolete("Vibrate method is deprecated. Please use Handheld.Vibrate instead (UnityUpgradable) -> Handheld.Vibrate()")]
public static void Vibrate() {}
[Obsolete("isApplicationGenuine property is deprecated. Please use Application.genuine instead (UnityUpgradable) -> Application.genuine")]
public static bool isApplicationGenuine { get { return false; } }
[Obsolete("isApplicationGenuineAvailable property is deprecated. Please use Application.genuineCheckAvailable instead (UnityUpgradable) -> Application.genuineCheckAvailable")]
public static bool isApplicationGenuineAvailable { get { return false; } }
}
//
// iPhoneKeyboard
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneKeyboardType enumeration is deprecated. Please use TouchScreenKeyboardType instead (UnityUpgradable) -> TouchScreenKeyboardType", true)]
public enum iPhoneKeyboardType
{
Default,
ASCIICapable,
NumbersAndPunctuation,
URL,
NumberPad,
PhonePad,
NamePhonePad,
EmailAddress
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneKeyboard class is deprecated. Please use TouchScreenKeyboard instead (UnityUpgradable) -> TouchScreenKeyboard", true)]
public class iPhoneKeyboard
{
public string text { get { return string.Empty; } set {} }
public static bool hideInput { get { return false; } set {} }
public bool active { get { return false; } set {} }
public bool done { get { return false; } }
public static Rect area { get { return default(Rect); } }
public static bool visible { get { return false; } }
}
//
// iPhoneInput
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneAccelerationEvent struct is deprecated. Please use AccelerationEvent instead (UnityUpgradable) -> AccelerationEvent", true)]
public struct iPhoneAccelerationEvent
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("timeDelta property is deprecated. Please use AccelerationEvent.deltaTime instead (UnityUpgradable) -> AccelerationEvent.deltaTime", true)]
public float timeDelta { get { return 0; } }
public Vector3 acceleration { get { return default(Vector3); } }
public float deltaTime { get { return -1.0f; } }
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneOrientation enumeration is deprecated. Please use DeviceOrientation instead (UnityUpgradable) -> DeviceOrientation", true)]
public enum iPhoneOrientation
{
Unknown,
Portrait,
PortraitUpsideDown,
LandscapeLeft,
LandscapeRight,
FaceUp,
FaceDown
}
// The iPhoneInput class acts as the interface into the iPhone's unique Input systems.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhoneInput class is deprecated. Please use Input instead (UnityUpgradable) -> Input", true)]
public class iPhoneInput
{
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("orientation property is deprecated. Please use Input.deviceOrientation instead (UnityUpgradable) -> Input.deviceOrientation", true)]
public static iPhoneOrientation orientation { get { return default(iPhoneOrientation); } }
// Folowing members are not strictly required to update references from iPhoneInput -> Input, but
// any method that takes an argument like iPhoneInput.touchCount will fail resolution if the member (touchCount) is not present
// in the "old" version of the type and the update may fail.
public static iPhoneAccelerationEvent[] accelerationEvents { get { return null; } }
public static iPhoneTouch[] touches { get { return null; } }
public static int touchCount { get { return 0; } }
public static bool multiTouchEnabled { get { return false; } set {} }
public static int accelerationEventCount { get { return 0; } }
public static Vector3 acceleration { get { return default(Vector3); } }
public static iPhoneTouch GetTouch(int index) { return default(iPhoneTouch); }
public static iPhoneAccelerationEvent GetAccelerationEvent(int index) { return default(iPhoneAccelerationEvent); }
}
//
// iPhone
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iPhone class is deprecated. Please use iOS.Device instead (UnityUpgradable) -> UnityEngine.iOS.Device", true)]
public sealed class iPhone
{
public static iPhoneGeneration generation { get { return default(iPhoneGeneration); } }
public static string vendorIdentifier { get { return default(string); } }
public static string advertisingIdentifier { get { return default(string); } }
public static bool advertisingTrackingEnabled { get { return default(bool); } }
public static void SetNoBackupFlag(string path) {}
public static void ResetNoBackupFlag(string path) {}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iOSActivityIndicatorStyle enumeration is deprecated. Please use iOS.ActivityIndicatorStyle instead (UnityUpgradable) -> UnityEngine.iOS.ActivityIndicatorStyle", true)]
public enum iOSActivityIndicatorStyle
{
DontShow,
WhiteLarge,
White,
Gray
}
//
// LocalNotification/RemoteNotification/NotificationServices
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("CalendarIdentifier is deprecated. Please use iOS.CalendarIdentifier instead (UnityUpgradable) -> UnityEngine.iOS.CalendarIdentifier", true)]
public enum CalendarIdentifier
{
GregorianCalendar,
BuddhistCalendar,
ChineseCalendar,
HebrewCalendar,
IslamicCalendar,
IslamicCivilCalendar,
JapaneseCalendar,
RepublicOfChinaCalendar,
PersianCalendar,
IndianCalendar,
ISO8601Calendar
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("CalendarUnit is deprecated. Please use iOS.CalendarUnit instead (UnityUpgradable) -> UnityEngine.iOS.CalendarUnit", true)]
public enum CalendarUnit
{
Era,
Year,
Month,
Day,
Hour,
Minute,
Second,
Week,
Weekday,
WeekdayOrdinal,
Quarter
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("LocalNotification is deprecated. Please use iOS.LocalNotification instead (UnityUpgradable) -> UnityEngine.iOS.LocalNotification", true)]
public sealed class LocalNotification
{
public DateTime fireDate { get { return default(DateTime); } set {} }
public string timeZone { get { return default(string); } set {} }
public CalendarUnit repeatInterval { get { return default(CalendarUnit); } set {} }
public CalendarIdentifier repeatCalendar { get { return default(CalendarIdentifier); } set {} }
public string alertBody { get { return default(string); } set {} }
public string alertAction { get { return default(string); } set {} }
public bool hasAction { get { return default(bool); } set {} }
public string alertLaunchImage { get { return default(string); } set {} }
public int applicationIconBadgeNumber { get { return default(int); } set {} }
public string soundName { get { return default(string); } set {} }
public static string defaultSoundName { get { return default(string); } }
public IDictionary userInfo { get { return default(IDictionary); } set {} }
public LocalNotification() {}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("RemoteNotification is deprecated. Please use iOS.RemoteNotification instead (UnityUpgradable) -> UnityEngine.iOS.RemoteNotification", true)]
public sealed class RemoteNotification
{
public string alertBody { get { return default(string); } }
public bool hasAction { get { return default(bool); } }
public int applicationIconBadgeNumber { get { return default(int); } }
public string soundName { get { return default(string); } }
public IDictionary userInfo { get { return default(IDictionary); } }
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("RemoteNotificationType is deprecated. Please use iOS.NotificationType instead (UnityUpgradable) -> UnityEngine.iOS.NotificationType", true)]
public enum RemoteNotificationType
{
None,
Badge,
Sound,
Alert
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("NotificationServices is deprecated. Please use iOS.NotificationServices instead (UnityUpgradable) -> UnityEngine.iOS.NotificationServices", true)]
public sealed class NotificationServices
{
public NotificationServices()
{
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("RegisterForRemoteNotificationTypes is deprecated. Please use RegisterForNotifications instead (UnityUpgradable) -> UnityEngine.iOS.NotificationServices.RegisterForNotifications(*)", true)]
public static void RegisterForRemoteNotificationTypes(RemoteNotificationType notificationTypes) {}
}
//
// iAD
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("ADBannerView class is obsolete, Apple iAD service discontinued", true)]
public sealed class ADBannerView
{
public enum Layout
{
Top,
Bottom,
TopLeft = 0,
TopRight = 4,
TopCenter = 8,
BottomLeft = 1,
BottomRight = 5,
BottomCenter = 9,
CenterLeft = 2,
CenterRight = 6,
Center = 10,
Manual = -1
}
public enum Type
{
Banner,
MediumRect
}
public delegate void BannerWasClickedDelegate();
public delegate void BannerWasLoadedDelegate();
public static event ADBannerView.BannerWasClickedDelegate onBannerWasClicked
{
add {}
remove {}
}
public static event ADBannerView.BannerWasLoadedDelegate onBannerWasLoaded
{
add {}
remove {}
}
public bool loaded { get { return false; } }
public bool visible { get { return false; } set {} }
public ADBannerView.Layout layout { get { return default(ADBannerView.Layout); } set {} }
public Vector2 position { get { return default(Vector2); } set {} }
public Vector2 size { get { return default(Vector2); } }
public ADBannerView(ADBannerView.Type type, ADBannerView.Layout layout) {}
public static bool IsAvailable(ADBannerView.Type type) { return false; }
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("ADInterstitialAd class is obsolete, Apple iAD service discontinued", true)]
public sealed class ADInterstitialAd
{
public delegate void InterstitialWasLoadedDelegate();
public static event ADInterstitialAd.InterstitialWasLoadedDelegate onInterstitialWasLoaded
{
add {}
remove {}
}
public static bool isAvailable { get { return false; } }
public bool loaded { get { return false; } }
public ADInterstitialAd(bool autoReload) {}
public ADInterstitialAd() {}
~ADInterstitialAd() {}
public void Show() {}
public void ReloadAd() {}
}
}
namespace UnityEngine.iOS
{
//
// iAD
//
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iOS.ADBannerView class is obsolete, Apple iAD service discontinued", true)]
public sealed partial class ADBannerView
{
public enum
Layout
{
// banner
Top = 0,
Bottom = 1,
// rect
TopLeft = 0,
TopRight = 4,
TopCenter = 8,
BottomLeft = 1,
BottomRight = 5,
BottomCenter = 9,
CenterLeft = 2,
CenterRight = 6,
Center = 10,
Manual = -1
};
public enum
Type
{
Banner = 0,
MediumRect = 1
};
public static bool IsAvailable(Type type) { return false; }
public ADBannerView(Type type, Layout layout) {}
public bool loaded { get { return false; } }
public bool visible { get { return false; } set {} }
public Layout layout { get { return default(Layout); } set {} }
public Vector2 position { get { return default(Vector2); } set {} }
public Vector2 size { get { return default(Vector2); } }
public delegate void BannerWasClickedDelegate();
public static event BannerWasClickedDelegate onBannerWasClicked
{
add {}
remove {}
}
public delegate void BannerWasLoadedDelegate();
public static event BannerWasLoadedDelegate onBannerWasLoaded
{
add {}
remove {}
}
public delegate void BannerFailedToLoadDelegate();
public static event BannerFailedToLoadDelegate onBannerFailedToLoad
{
add {}
remove {}
}
}
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[Obsolete("iOS.ADInterstitialAd class is obsolete, Apple iAD service discontinued", true)]
public sealed partial class ADInterstitialAd
{
public static bool isAvailable { get { return false; } }
public ADInterstitialAd(bool autoReload) {}
public ADInterstitialAd() {}
public void Show() {}
public void ReloadAd() {}
public bool loaded { get { return false; } }
public delegate void InterstitialWasLoadedDelegate();
public static event InterstitialWasLoadedDelegate onInterstitialWasLoaded
{
add {}
remove {}
}
public delegate void InterstitialWasViewedDelegate();
public static event InterstitialWasViewedDelegate onInterstitialWasViewed
{
add {}
remove {}
}
}
}
Loading...
举报
举报成功
我们将于2个工作日内通过站内信反馈结果给你!
请认真填写举报原因,尽可能描述详细。
请选择举报类型
取消
发送
误判申诉

此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。

如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。

取消
提交

简介

Unity C# reference source code
取消

发行版

暂无发行版

贡献者

全部

近期动态

不能加载更多了
编辑仓库简介
简介内容
主页
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/chingcho/UnityCsReference.git
git@gitee.com:chingcho/UnityCsReference.git
chingcho
UnityCsReference
UnityCsReference
master
点此查找更多帮助

搜索帮助

评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册

AltStyle によって変換されたページ (->オリジナル) /