public static BaseEvent CreateTimedOptions(string type, object sender = null, GeneralOptions generalOptionsParam = null) { return(BaseEvent.Create(type, Time.time, sender, sender, 0, 0, "", null, generalOptionsParam)); }
public static BaseEvent CloneWithNewSender(BaseEvent e, object sender) { return(BaseEvent.Create(e.type, e.time, sender, e.origin, e.intParam, e.floatParam, e.stringParam, e.objectParam, e.generalOptionsParam)); }
public static BaseEvent CreateTimedSimple(string type, object sender = null, int intParam = 0, float floatParam = 0, string stringParam = "", object objectParam = null) { return(BaseEvent.Create(type, Time.time, sender, sender, intParam, floatParam, stringParam, objectParam)); }