static void ApplyDynamicShadows(ShipRefs ship) { BngAdapter.ShipShadowProjector(ship).enabled = false; QualitySettings.shadows = ShadowQuality.All; }
static void ApplyStandardShaderToShip(ShipRefs ship) { var shipTex = BngAdapter.ShipTexture(ship); BngAdapter.ShipMeshRenderer(ship).material = UnityUtil.CreateMaterialForStandardShader(shipTex); }