Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on September 28, 2015, 07:33:51 AM

Title: ConvertBytesLengthToReadableSize
Post by: jeanfabre on September 28, 2015, 07:33:51 AM
Hi,

 When you get a file size or a texture size, it's difficult to express it mathematically into a readable manner like we expect: 1.4Gb, 3KB, etc

so I made a quick action to let you do this, and gives you total control over the format and range of sizes you want to support.

the action can be ran everyframe, so if you are watching some memory consuption or some downloads, you can use this actiona to update everyframe in nice labels.

It's on the Ecosystem (http://j.mp/1Esn1mF) too

ConvertBytesLengthToReadableSize (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/master/Assets/PlayMaker%20Custom%20Actions/Convert/ConvertBytesLengthToReadableSize.cs)

Bye,

 Jean