11000+款5星资源

8.5万+用户参与评分

10万+社区成员鼎力支持

每款资源都经过 Unity 审核

首页
工具
整合
1/5
Target Platform boost your development for multiple platforms.

Features:
- Make GameObject and it's components work only on specific platform
- Enable to check whether the Unity's built-in symbols are defined at runtime
- Shorthands of UnityEngine.RuntimePlatform
- All source codes are included!

For example, if you have a button to display on only iOS, you can actually do it by simply attaching a component that specifies iOS to GameObject. Even if you specify multiple platforms only on Android or Unity editor, you just combine the components.
You can specify all 20+ platforms that can be built with Unity 5.0 ~ 2017.1!

Code using directives such as:
  #if UNITY_IOS ~ #endif
helps to reduce the capacity of the application at compile time, but in many cases you should want to use if-statement and the bool value. With the Target Platform, you can write it as:
  if (UnitySymbol.UNITY_WII)
This helps reduce compilation errors that occur for the first time when changing or building a build target.

Instead of writing:
  if(Application.platform
     == RuntimePlatform.Android)
you can write:
  if(Runtime.Platform.isAndroid)

Of course, full source codes are included!

Target Platform - for multi-platform development

(暂无评分)
24 users have favourite this asset
(24)
$5
席位
1
更新的价格和增值税在结算时计算
退款政策
该资源受Unity资源商店退款政策约束。有关详细信息,请参见《最终用户许可协议》(EULA)中的第2.9.3节。
安全结账方式:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
许可证类型
文件大小
41.9 KB
最新版本
1.1
最新发布日期
2017年11月2日
原始 Unity 版本
5.0.0
高品质资源
11000+款5星资源
深受用户信赖
8.5万+用户参与评分
强大的社区支持
10万+社区成员鼎力支持
Unity logo
语言
反馈
合作伙伴计划
合作伙伴
USD
EUR
Copyright © 2025 Unity Technologies
所有价格不包含税
USD
EUR
Target Platform - for multi-platform development
$5