private void Update() { if (player != null) { #if UNITY_EDITOR if (Application.isPlaying) { player.Update(Time.deltaTime); } else { player.Update_Editor(0); } #else player.Update(Time.deltaTime); #endif } }
private void Update() { if (player != null) { float dtTime = EZ.BaseScene.GetDtTime(); if (dtTime > 0) { player.Update(dtTime); } } }