static int ChangeSpeed(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); SWS.splineMove obj = (SWS.splineMove)ToLua.CheckObject <SWS.splineMove>(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.ChangeSpeed(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
/// <summary> /// アニメーションから呼び出し /// </summary> void Dush() { move.ChangeSpeed(dushSpeed); }
private void OnMouseDown() { this.gameObject.SetActive(false); spline_Move.ChangeSpeed(2.0f); }
void Rest() { move.ChangeSpeed(restSpeed); }