Using Different Character Controller
[SerializeField] private FirstPersonController player = null;
public void DisablePlayer(bool disable)
{
if (disable)
{
player.enabled = false;
PhoneUIManager.instance.ShowCrosshair(false);
}
if (!disable)
{
player.enabled = true;
PhoneUIManager.instance.ShowCrosshair(true);
}
}Last updated