两数相加 #include <stdio.h> int main(void){ int a = 10; //定义变量a, 把10 赋值给a int b = 20; //定义变量b, 把20 赋值给b int c; //定义变量c c = a + b; //将a加b的结果赋值给c, c等于30 printf("a+b = %d \n", c); return 0; } 两数相减 #include <stdio.h> int mai…
代码如下图,这样就不用在绝对路径和相对路径之间不断转换了. 想要得到绝对路径时就傅 Application.dataPath + xxx using System.Collections; using System.Collections.Generic; using System.IO; using UnityEditor; using UnityEngine; public class abbuilder { [MenuItem("AssetBundle/BuildABx")]…