-
unity3d 状态机
有限状态机,stateMachin.cs 可以为UI 或者各种玩家,怪物添加状态,快速状态切换:
///
/// 注册一个状态
///
/// 状态对象
/// 成功还是失败
public bool RegisterState(IState state)
{
if (state == null)
{
Log.Error("StateMachine.RegisterState state is Null !");
return false;
}
if (mStateDic.ContainsKey(state.GetStateID()))
{
Log.Error("StateMachine.RegisterState mStateDic hava this key key = " + state.GetStateID());
return
- 2022-03-19 10:32:22下载
- 积分:1
-
c#winfoem绘制直角坐标系
c#在winform中绘制的直角坐标系源码,大家可以参考i下。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。
- 2022-01-28 10:47:14下载
- 积分:1
-
C# 进销存系统源码下载
C# 进销存系统源码下载
- 2014-08-06下载
- 积分:1
-
pid控制直流电机
通过pid控制实现直流电机转速控制,此系统是一个闭环系统
- 2022-11-09 06:20:03下载
- 积分:1
-
马踏棋盘源代码
采用c语言实现马踏棋盘,这个程序逻辑非常强,非常适合初学者深入的了解C语言;
- 2023-08-15 09:05:03下载
- 积分:1
-
1-2 实系数复变多项式问题« 编程任务:给定阶数分别为n和m的实系数复变多项式f(x) 和g(x),以及复数z,计算f (z) / g(z)的值。« 数据输入:由文件input.txt 给出输入数据。第一行有2 个正整数g(x) 的阶数。接下来的2行,每行分别有n和m个实数数。最后一行的2 个实数分别表示复数z 的实部和虚部。« 结果输出:将计算出的f (z) / g(z)的值输出到文件output.txt。文件的第一行是计算得到的复数,保留6 位有效数字。注意输出的结果应该符合数学中手写习惯。例如,当复数z 的实部和虚部分别为2 和1 时,应该输出2+i,而不是2+1i。输入文件示例 输出文件示例input.txt output.txt2 11 2 32 23.5 0.5-1-2 polynomial coefficients complex issues laquo; Programming tasks : to set the order of n and m is the coefficient of complex polynomials f (x) and g (x), and the plural z, calculated f (z)/g (z) values. Laquo; Data input : from the document input.txt given input data. The first trip had two positive integers g (x) of the Order. The next two firms, each trip respectively n and m really count. The last line of the two real plural z respectively, said the real and imaginary parts. Laquo; Results output : to calculate the f (z)/g (z) the value of the output to a file output.txt. The document is the first line of the complex calculat
- 2022-03-07 09:43:46下载
- 积分:1
-
c#毕业设计
学籍管理系统,分了三个角色。管理员,学生老师根据不同的职责进行相应的操作。
- 2022-08-22 10:01:11下载
- 积分:1
-
数控机床的自动工具更改控制
手臂有限 (ARM) 提供此软件用皮质-M* 处理器基于微控制器。 此文件可以自由分发
- 2022-03-07 19:16:20下载
- 积分:1
-
CS程序员之窗控件换肤测试版
CS程序员之窗控件换肤测试版
- 2013-09-12下载
- 积分:1
-
c++ primer第一章课后练习代码
c++第一章所有课后练习代码。是作者在自己学习过程中练习的原创答案。希望能与开始学习c++的朋友们共同进步,互相学习。所有代码均跑过visual studio 2010.
- 2022-03-10 19:11:11下载
- 积分:1