private void Update() { if (onStation && !canLoad) { if (loco.GetSpeed() < 0.2f) { canLoad = true; if (MayLoad != null) { MayLoad(true); } } } }