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

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