打包流程
This commit is contained in:
1 parent
0ca50e67a5
commit
6ab7e391ac
19 files changed
+1168
-120
No files matched your search
@@ -43,7 +43,7 @@ public class PlayerMoveController : MonoBehaviour
|
||||
{
|
||||
// 场景里只有一个轮盘时自动接管,省得手动拖引用
|
||||
if (joystick == null)
|
||||
joystick = FindObjectOfType<VirtualJoystick>(true);
|
||||
joystick = FindFirstObjectByType<VirtualJoystick>(FindObjectsInactive.Include);
|
||||
|
||||
if (joystick == null)
|
||||
Debug.LogWarning("[PlayerMoveController] 场景里没找到 VirtualJoystick(移动轮盘),角色不会移动。");
|
||||
|
||||
Reference in new issue
Block a user