- 博客(7)
- 资源 (2)
- 收藏
- 关注
转载 简单工厂模式
using UnityEngine; using System.Collections; using System; public class test : MonoBehaviour { // Use this for initialization void Start () { Operation oper; oper = Operation
2013-03-17 21:09:42 872
转载 Unity3D读取Ios中的动态UIImage图片
extern "C" { const char* _GetImage() { NSLog(@"I am in Begin"); UIImage *myUIImage = [UIImage imageNamed:@"Test.jpg"]; NSData *imageData = UIImagePNGRepresentation(my
2013-03-08 16:47:02 3894
转载 使用接口排序(2)
using System; using System.Collections; public enum enuSortOrder {IDAsc, IDDesc, RankAsc, RankDesc} public class Person : IComparable { public static enuSortOrder intSortOrder = enuSortOrder.IDAsc
2013-03-03 13:28:27 499
转载 使用接口排序(1)
using System; using System.Collections; public class Person : IComparable { public int ID; public string Rank; public Person(int id, string rank) { this.ID=id; this.Rank = rank; } #region ICo
2013-03-03 13:21:52 548
转载 传值调用与引用调用
using System; class MethodCall { public static void Main() { /* * 参数类型分为 in, ref, out 三种,默认为 in。 * in 类型在子方法中修改了对应变量后,主方法中的值不会发生改变。 * ref 类型在子方法中修改了对应变量后,主方法中的值也会发生改变。 * out 主方法中对应的变
2013-03-03 12:40:14 465
转载 Switching Cameras at runtime
using UnityEngine; using System.Collections; public class camControl : MonoBehaviour { void Update () { if(Input.GetKey("1")){ Debug.Log("Using Camera One"); camSwap(1); } if(Input.Ge
2013-03-01 13:07:50 414
转载 C# delegate event 例子
using UnityEngine; using System.Collections; using DelegateEvent; public class test : MonoBehaviour { void OnGUI() { if(GUI.Button(new Rect(10, 10, 10, 10), "")) {
2013-03-01 00:32:53 745
P31RestKit.dll 2.0
2014-06-17
FacebookSDK for Unity3d
2013-12-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人