當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
JSBinding + SharpKit / 实战:转换 Stealth
生活随笔
收集整理的這篇文章主要介紹了
JSBinding + SharpKit / 实战:转换 Stealth
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
這個例子相對簡單,基本上一路順暢
?// JSBindingSettings.classes
public static Type[] classes = new Type[]{typeof(PerTest),typeof(PerTest.RefObject),typeof(Debug),typeof(Input),typeof(GameObject),typeof(Transform),typeof(Vector2),typeof(Vector3),typeof(MonoBehaviour),typeof(Behaviour),typeof(Component),typeof(UnityEngine.Object),typeof(YieldInstruction),typeof(WaitForSeconds),typeof(WWW),typeof(Application),typeof(UnityEngine.Time),typeof(Resources),typeof(TextAsset),typeof(IEnumerator),typeof(List<>),typeof(List<>.Enumerator),typeof(Dictionary<,>),typeof(Dictionary<,>.KeyCollection), typeof(Dictionary<,>.ValueCollection), typeof(Dictionary<,>.Enumerator), typeof(KeyValuePair<,>), typeof(System.Diagnostics.Stopwatch),typeof(UnityEngine.Random),typeof(StringBuilder),typeof(System.Xml.XmlNode),typeof(System.Xml.XmlDocument),typeof(System.Xml.XmlNodeList),typeof(System.Xml.XmlElement),typeof(System.Xml.XmlLinkedNode),typeof(System.Xml.XmlAttributeCollection),typeof(System.Xml.XmlNamedNodeMap),typeof(System.Xml.XmlAttribute),// for 2d platformertypeof(LayerMask),typeof(Physics2D),typeof(Rigidbody2D),typeof(Collision2D),typeof(RaycastHit2D),typeof(AudioClip),typeof(AudioSource),typeof(ParticleSystem),typeof(Renderer),typeof(ParticleSystemRenderer),typeof(DateTime),typeof(GUIElement),typeof(GUIText),typeof(GUITexture),typeof(SpriteRenderer),typeof(Animator),typeof(Camera),typeof(Mathf),typeof(Quaternion),typeof(Sprite),typeof(Collider2D),typeof(BoxCollider2D),typeof(CircleCollider2D),typeof(Material),typeof(Color),typeof(PolygonCollider2D),typeof(Light),typeof(NavMeshAgent),typeof(Rect),typeof(Physics),typeof(Collider),typeof(SphereCollider),typeof(LineRenderer),typeof(MeshCollider),typeof(MeshRenderer),typeof(Screen),typeof(RaycastHit),typeof(BoxCollider),typeof(CapsuleCollider),typeof(AnimatorStateInfo),typeof(Rigidbody),typeof(NavMeshPath),}; View Code?
public static string[] PathsNotToJavaScript = new string[]{"JSBinding/",// "Stealth/", // 去掉"DaikonForge Tween (Pro)/","NGUI/",};東西都拉到 Stealth 文件夾里
?
?
Replace!
?
FINISH
轉載于:https://www.cnblogs.com/answerwinner/p/4688359.html
總結
以上是生活随笔為你收集整理的JSBinding + SharpKit / 实战:转换 Stealth的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 怎么品尝泰山的特色美食?
- 下一篇: hdu 5222