按住A键更改为准星样式
首先自己抠图抠出个准星,要png格式的图片
然后在准星的Inspector面板里更改Texture Type为Cursor
(一定要修改,不然会显示不正确)
然后创建脚本挂载到玩家角色身上
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove
按住A键更改为准星样式
首先自己抠图抠出个准星,要png格式的图片
然后在准星的Inspector面板里更改Texture Type为Cursor
(一定要修改,不然会显示不正确)
然后创建脚本挂载到玩家角色身上
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerMove