private void PlaceProjectileIndicator() { GameObject indicator = Instantiate(placedProjectilePrefab); Material material = ColorManager.Instance.GetPlayerMaterial(controller.PlayerNumber, ColorManager.PlayerColorVarient.UI_PRIMARY_ACTIVE); MeshRenderer primaryRenderer = indicator.GetComponent <MeshRenderer>(); primaryRenderer.material = material; indicator.transform.position = gameObject.transform.position; indicator.transform.localRotation = Quaternion.LookRotation(controller.LookDirection, Vector3.up); gameMode.ClearOnMatchChange(indicator); }