Пример #1
0
 internal LoadEventArgs(AssetBundleRequest request)
 {
     Request = request;
 }
 internal LoadProgressChangedEventArgs(AssetBundleRequest request) : base(request)
 {
     ProgressPercentage  = (Int32)(100f * request.Progress);
     ReceivedBytes       = request.ReceivedBytes;
     TotalBytesToReceive = request.TotalBytes;
 }
Пример #3
0
 public LoadStartedEventArgs(AssetBundleRequest request) : base(request)
 {
 }
Пример #4
0
 internal LoadCompletedEventArgs(AssetBundleRequest request, Boolean cancelled, String error) : base(request)
 {
     Cancelled = cancelled;
     Error     = error;
 }