public static bool GetResolution(ref SDKResolution sdkResolution) { if (_injection_SDKResolution.active && _injection_SDKResolution.action != null) { _injection_SDKResolution.action.Invoke(); sdkResolution = _injection_SDKResolution.data; return(true); } bool output = GetStructFromLocalChannel <SDKResolution>(ref sdkResolution, 15, SDKBridge.Tag("SDKRes")); _injection_SDKResolution.data = sdkResolution; return(output); }
public static void SetGroundPlane(SDKPlane groundPlane) { AddStructToGlobalChannel <SDKPlane>(ref groundPlane, 2, SDKBridge.Tag("SetGND")); }