缘由
三种思路解题:依据算术推导得到一个规律:小等于的所有奇数和等于最大奇数除以2加1的平方。将在后续发布,总计有十种推导出来的实现代码。
int a 0,aa 1,aaa 0;cin >> a;
while (aa<a)
aaa aa, aa 2;cout << aaa;i…
日志2025.2.8
1.增加了近战敌人攻击类型 public struct AttackData { public string attackName; public float attackRange; public float attackIndex; public float animationSpeed; public float moveDistance; public AttackType_Melee attackType; …
1. 导入xlua
首先导入xlua,这个不用多说
2. 编写C#和Lua交互脚本
基础版本,即xlua自带的版本
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XLua;
using System;
using System.IO;[Serializable]
public…