标签:unity3d培训 3d游戏开发 unity3d游戏 unity培训 unity3d学习
public static T MaxT(T a, T b) where T is int or long or float or double
{
return a = b ? a : b;
}
namespace Moudle
{
public class Common { ... }
private class Secret { ... }
}
foreach(ref Vector3 position in positions)
{
position.x = 0;
}
class MyClass
{
public static DoSomething(this OtherClass obj, ...) { ... }
public static getSetSomething(this OtherClass obj){ get {...} set{...} }
public static void ModifyValue(this ref ValueType value) { ... }
}
using A.B;
class MyClass { A.B.C.OtherClass x; }
using A.B;
class MyClass { C.OtherClass x; }
声明:此篇文档时来自于【狗刨学习网】社区-unity极致学院,是网友自行发布的Unity3D学习文章,如果有什么内容侵犯了你的相关权益,请与官方沟通,我们会即时处理。
标签:unity3d培训 3d游戏开发 unity3d游戏 unity培训 unity3d学习
原文地址:http://blog.csdn.net/book_longssl/article/details/44489847