예제 #1
0
 public static ReturnSpawn Instance(float speed)
 {
     ReturnSpawn ret;
     if (!instances.TryGetValue(speed, out ret))
         ret = instances[speed] = new ReturnSpawn(speed);
     return ret;
 }
예제 #2
0
        public static ReturnSpawn Instance(float speed)
        {
            ReturnSpawn ret;

            if (!instances.TryGetValue(speed, out ret))
            {
                ret = instances[speed] = new ReturnSpawn(speed);
            }
            return(ret);
        }