摘要: using System.Runtime.InteropServices; using System.Text; internal static class Program { private static void Main() { Console.OutputEncoding = Encodin 阅读全文
posted @ 2026-08-18 17:32 stweily 阅读(5) 评论(0) 推荐(0)
摘要: SSH 密钥登录配置记录 服务器信息 地址:wow2.x3322.net 用户:root 概念 SSH 密钥登录需要一对密钥: 名称 存放位置 说明 私钥 本地电脑 证明身份,必须保密 公钥 服务器 ~/.ssh/authorized_keys 验证私钥 操作步骤 1. 在 Windows 上生成密 阅读全文
posted @ 2026-08-05 09:53 stweily 阅读(4) 评论(0) 推荐(0)
摘要: 目前有几个前提条件 一 全屏 二 camera 设置为solid color 背景色为(0 0 0 0) 三 projectSettings->Player->OrtherSetting : Auto Graphics API for Windows 勾选-去掉 四 projectSettings- 阅读全文
posted @ 2026-03-31 17:04 stweily 阅读(14) 评论(0) 推荐(0)
摘要: Shader "UI/TexBloom" { Properties { _MainTex ("Base Texture", 2D) = "white" {} _OverlayTex ("Overlay Texture", 2D) = "white" {} _OverlayRect ("Overlay 阅读全文
posted @ 2026-03-24 16:43 stweily 阅读(14) 评论(0) 推荐(0)
摘要: windows服务下启动外部UI程序出现无界面 做一个windows服务监听服务,涉及到windows服务启动外部程序的一个过程,但是调试测试发现,无法简单的用process.start()这种方法, 原因是在vista和win7这样的系统下,服务是运行在session 0,而基本上应用是运行在se 阅读全文
posted @ 2026-02-07 08:29 stweily 阅读(24) 评论(0) 推荐(0)
摘要: 仅记录本人的心得,不是正常阅读(待有时间再整理) Properties _MainTex ("Flow Texture", 2D) = "white" {} 如果是Image,那这个纹理默认会从image的纹理属性里过来。 Subshader Tags RenderType: Opaque // 不 阅读全文
posted @ 2026-01-13 09:10 stweily 阅读(14) 评论(0) 推荐(0)
摘要: 先看脚本 IEnumerator YeildMethod() { yield return new WaitForSeconds(2f); Debug.Log("2秒到了"); while (true) { yield return new WaitUntil(() => Input.GetKeyD 阅读全文
posted @ 2026-01-05 15:32 stweily 阅读(20) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/78706246 阅读全文
posted @ 2025-12-13 11:51 stweily 阅读(16) 评论(0) 推荐(0)
摘要: 如题 using System.Runtime.InteropServices; namespace DisplaySetting { [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public struct DEVMOD 阅读全文
posted @ 2025-10-30 15:05 stweily 阅读(16) 评论(0) 推荐(0)
摘要: 使用全局类型获取焦点事件 EventManager.RegisterClassHandler(typeof(TextBox), TextBox.GotFocusEvent, new RoutedEventHandler(TextBox_GotFocus)); EventManager.Registe 阅读全文
posted @ 2025-10-15 17:20 stweily 阅读(67) 评论(0) 推荐(0)