1、场景里新建四个东西新建Empty:Hierarchy面板下右击->Create Empty2、Empty的位置是在diren的炮口处3、制作子弹的预制体4、diren挂上此代码 using System.Collections; using System.Collections.Generic; ...
分类:
移动开发 时间:
2020-06-09 20:15:43
阅读次数:
113
Collection集合和Collections工具类中addAll() 方法的区别: Collections工具类中addAll() 方法: public static <T> boolean addAll(Collection<T> c, T... elements) 往集合中添加一些元素。 C ...
分类:
其他好文 时间:
2020-06-09 13:04:04
阅读次数:
62
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using Autodesk.Revit.DB;using Autodesk. ...
分类:
其他好文 时间:
2020-06-08 14:50:06
阅读次数:
63
把做工程过程中重要的内容段备份一次,如下内容是关于C#封装的Sqlite访问类的内容,希望能对各位有一些用途。 using System;using System.Collections;using System.Collections.Specialized;using System.Data;u ...
分类:
数据库 时间:
2020-06-08 10:52:53
阅读次数:
64
数据访问DAL和实体类 UserInfo.cs using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ...
前言:愿每个晴朗的日子,你都能开怀大笑~ 方式一:导入OrderedDict模块 from collections import OrderedDict headerinfos_01 = { 'Accept':'application/json, text/javascript, */*; q=0. ...
分类:
其他好文 时间:
2020-06-08 00:16:21
阅读次数:
89
类库代码 DbHelper.cs using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Data.SqlClient; using Sys ...
API代码using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.AspNetCore.Cors; using Microsoft ...
分类:
数据库 时间:
2020-06-07 19:52:11
阅读次数:
129
构造方法:1,用于初始化,一个类中最少有一个2,用new关键字调用3,不能有返回值4,方法名和类名一样 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System ...
分类:
其他好文 时间:
2020-06-07 19:33:43
阅读次数:
64
方法重载: 需求:解决多个同类型方法的命名的问题 好处:方便使用编译器判断的依据:1,方法同名 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Thr ...
分类:
其他好文 时间:
2020-06-07 19:11:03
阅读次数:
51