diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs index 7f86a49c..5d1378a3 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaUtils.cs @@ -393,39 +393,7 @@ namespace Fungus { return stringSubstituter.SubstituteStrings(input); } - - /// <summary> - /// Returns the time since level load, multiplied by timeScale. - /// If timeScale is negative then returns the same as Time.timeSinceLevelLoaded. - /// </summary> - public float GetTime() - { - if (timeScale < 0f) - { - return Time.timeSinceLevelLoad; - } - else - { - return Time.unscaledTime * timeScale; - } - } - - /// <summary> - /// Returns the delta time this frame, multiplied by timeScale. - /// If timeScale is negative then returns the same as Time.deltaTime. - /// </summary> - public float GetDeltaTime() - { - if (timeScale < 0f) - { - return Time.deltaTime; - } - else - { - return Time.deltaTime * timeScale; - } - } - + /// <summary> /// Find a game object by name and returns it. /// </summary>