Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Lane on July 17, 2014, 04:33:32 PM

Title: GetSystemInfo
Post by: Lane on July 17, 2014, 04:33:32 PM
This action offers a return for all of the System Information Variables (http://docs.unity3d.com/ScriptReference/SystemInfo.html).

There is an existing action in stock Playmaker called GetSystemInformations but I think this is old or just missing a few things so I went ahead and added everything from the documentation including the returns on DeviceType & NPOT as strings.

From what I have read there are a few of these that can take up to several seconds to return on some devices so I wrapped everything in ifs so it only pulls the data you assign variables. I didn't see the point in returning everything and potentially hiccuping if you aren't asking for it.

It's also on Ecosystem.