上一页 1 2 3 4 5 6 7 8 9 10 ··· 41 下一页
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.Events; public class WaitTimeManager : MonoBehaviour 阅读全文
posted @ 2022-02-21 17:45 小帆敲代码 阅读(21) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Script_04_05 : MonoBehaviour { public static Script_04_05 阅读全文
posted @ 2022-02-21 17:12 小帆敲代码 阅读(12) 评论(0) 推荐(0) 编辑
摘要: Unity会同时处理所有的物体:如,先执行所有物体的Awake方法。 阅读全文
posted @ 2022-02-21 16:29 小帆敲代码 阅读(21) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; public class Script_04_04 : MonoBehaviour { IEnumerator CreateCube() { 阅读全文
posted @ 2022-02-21 15:02 小帆敲代码 阅读(26) 评论(0) 推荐(0) 编辑
摘要: public class Script_04_03 : MonoBehaviour { private void Awake() { Debug.Log("Awake用于初始化并且只会调用一次"); } private void OnEnable() { Debug.Log("OnEnable在脚本 阅读全文
posted @ 2022-02-21 14:47 小帆敲代码 阅读(36) 评论(0) 推荐(0) 编辑
摘要: int layer = LayerMask.NameToLayer("Ground"); //假设=10 LayerMask.GetMask(("Ground"); //相当于 1 << 10 1 << 10 打开第10的层等价于【1 << LayerMask.NameToLayer("Ground 阅读全文
posted @ 2022-01-10 14:10 小帆敲代码 阅读(89) 评论(0) 推荐(0) 编辑
摘要: ref public void click() { int a = 10, b = 10; Debug.Log("before a:" + a + " b:" + b); get(ref a, b); Debug.Log("after a:" + a + " b:" + b); } public v 阅读全文
posted @ 2021-12-31 15:48 小帆敲代码 阅读(47) 评论(0) 推荐(0) 编辑
摘要: KeyStore Keytool是一个Java数据证书的管理工具 ,Keytool将密钥(key)和证书(certificates)存在一个称为keystore的文件中 在keystore里,包含两种数据: 密钥实体(Key entity)——密钥(secret key)又或者是私钥和配对公钥(采用 阅读全文
posted @ 2021-12-29 15:10 小帆敲代码 阅读(768) 评论(0) 推荐(0) 编辑
摘要: 原文章地址:https://www.jianshu.com/p/86b275da600e 阅读全文
posted @ 2021-11-24 16:25 小帆敲代码 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 作用 在类外部也能使用友元函数或友元类 定义 在类1的内部定义friend 类A或friend void fun() 阅读全文
posted @ 2021-10-20 18:03 小帆敲代码 阅读(56) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 41 下一页