I'll explain again.
1) let's forget unity js. unity does not have js. it has unityscript which is totally different. so
javascript has nothing to with Unity!
2) is there a unity javascript library implementation currently?
NO!
3) When you 'inherit' from 'Component' or 'Behaviour' - who is going to implement these classes? You? or there's an existing unity implementation in javascript for this?
No one is going to implement these classes. see GameObject.javascript. this file is generated according to GameObject.cs in UnityEngine. As you see, it is not implemented, it has only some CS.Call() there, which is used to call C# code from javascript. CS.Call() is the very important
4), see RotateObject.javascript in attachments. this is the file i sent you before. this file is nothing to do with unity. it is I that decide it to look like this.
But now we are going to use SharpKit, I decide to change ALL js files to match SharpKit Clr mode.
We are in progress, I believe it will work great with SharpKit very soon.
Sorry to make you confused. Is it clear now?
------------------ 原始邮件 ------------------
发送时间: 2015年3月5日(星期四) 凌晨0:08
主题: Re: Re: support unity3d ?