lvjincheng 3 лет назад
Родитель
Сommit
9672a1deec
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Assets/BowArrow/Scripts/Manager/GameMgr.cs

+ 4 - 0
Assets/BowArrow/Scripts/Manager/GameMgr.cs

@@ -14,6 +14,10 @@ public class GameMgr : MonoBehaviour
     void Awake() 
     void Awake() 
     {
     {
         ins = this;
         ins = this;
+        // try { //隐藏了手臂和弓,且拉弓搭箭速度提高10倍
+        //     transform.Find("Main Camera").GetComponent<Camera>().cullingMask = -1033; 
+        //     transform.Find("Main Camera/ArmBow").GetComponent<AnimationPlayer>().speed = 20;
+        // } catch (System.Exception) {}
         OnlinePKTest.Init();
         OnlinePKTest.Init();
         HomeMgr.HideCacheViews();
         HomeMgr.HideCacheViews();
         if (Application.platform == RuntimePlatform.WindowsEditor)
         if (Application.platform == RuntimePlatform.WindowsEditor)