2016年12月20日

AS3语法和UNITY C#语法的异同

摘要: Sprite a = new Sprite(); trace(a.paent); 此时a.parent为null,还未AddChild到屏幕上, 一般用这个来判断在不在屏幕上 GameObject a = new GameObject(); print(a.transform.parent); 此时 阅读全文

posted @ 2016-12-20 22:08 jiahuafu 阅读(1219) 评论(0) 推荐(0) 编辑

导航