/** * Get the next status change * * @param int status pass the status integer value by reference * @return zero upon success, otherwise an error code is returned. */ public static int getNextStatusChange(out int status) { if (RuntimePlatform.OSXEditor == Application.platform || RuntimePlatform.OSXPlayer == Application.platform) { return(ControllerInterface_desktop.getNextStatusChange(out status)); } else if (RuntimePlatform.IPhonePlayer == Application.platform) { return(ControllerInterface_mobile.getNextStatusChange(out status)); } status = -1; return(-1); }