Compare commits

..

No commits in common. "20017077d1396bf340f68f8200fcef75d3398e05" and "73bbaddb4cb09a120ae2f938b0603dd053f5adec" have entirely different histories.

3 changed files with 5 additions and 7 deletions

View File

@ -20,7 +20,7 @@ public class Mastermanagement : MonoBehaviour
private IEnumerator WaitGetAllDevice()
{
yield return new WaitForSeconds(0.1f);
Debug.Log("wew");
weapongames = DeviceManager.Instance.GetPlayerDecive1();
if (weapongames.Count > 0)
{

View File

@ -157,7 +157,6 @@ public class GameManager : MonoSingleton<GameManager>
tenkokuModule.mainCamera = spt.transform;
AddPlayers(spt);
DeviceManager.Instance.isStartRehearsing = GlobalFlag.isStartRehearsing;
}
@ -307,7 +306,6 @@ public class GameManager : MonoSingleton<GameManager>
if (GlobalFlag.currentUser.role_code == "04")
{
currentSpt.GetComponent<Camera>().cullingMask = -1;
currentSpt.GetComponent<Camera>().cullingMask &= ~(1 << 15);
}
}
}
@ -406,6 +404,7 @@ public class GameManager : MonoSingleton<GameManager>
if (!userIds.Contains(ulong.Parse(userInfo[0])))
{
SyncPlayerTransform spt = Instantiate(playerTransformPrefab);
spt.GetComponent<Camera>().cullingMask = ~(1 << 15);
//0 red 1 blue
if (UIBootstrap.Instance.GetRoleByIDPracticeId(GlobalFlag.practiceSeatId) == "0")
{

View File

@ -319,8 +319,7 @@ public class EquipmentCommon : MonoBehaviour
}
}
IEnumerator UnmannedAerialVehicleAddBao(UnmannedAerialVehicle unmannedAerialVehicle)
{
IEnumerator UnmannedAerialVehicleAddBao(UnmannedAerialVehicle unmannedAerialVehicle) {
yield return new WaitForSeconds(0.6f);
unmannedAerialVehicle.AddBao(false);
}