lvjincheng пре 3 година
родитељ
комит
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() 
     {
         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();
         HomeMgr.HideCacheViews();
         if (Application.platform == RuntimePlatform.WindowsEditor)