// Token: 0x060030FC RID: 12540 RVA: 0x0012D3C4 File Offset: 0x0012B5C4 public static void Update() { MultiplayerBuilder.Initialize(); MultiplayerBuilder.canPlace = false; if (MultiplayerBuilder.prefab == null) { return; } if (MultiplayerBuilder.CreateGhost()) { } MultiplayerBuilder.canPlace = MultiplayerBuilder.UpdateAllowed(); Transform transform = MultiplayerBuilder.ghostModel.transform; transform.position = MultiplayerBuilder.placePosition + MultiplayerBuilder.placeRotation * MultiplayerBuilder.ghostModelPosition; transform.rotation = MultiplayerBuilder.placeRotation * MultiplayerBuilder.ghostModelRotation; transform.localScale = MultiplayerBuilder.ghostModelScale; Color color = (!MultiplayerBuilder.canPlace) ? MultiplayerBuilder.placeColorDeny : MultiplayerBuilder.placeColorAllow; IBuilderGhostModel[] components = MultiplayerBuilder.ghostModel.GetComponents <IBuilderGhostModel>(); for (int i = 0; i < components.Length; i++) { components[i].UpdateGhostModelColor(MultiplayerBuilder.canPlace, ref color); } MaterialExtensions.SetColor(MultiplayerBuilder.renderers, ShaderPropertyID._Tint, color); }