void Update() { // Update our platform objects when the platform changes. if (CurrentPlatform != PlatformData.GetDataObject().platform) { SetPlatform(PlatformData.GetDataObject().platform); } }
void Start() { SetPlatform(PlatformData.GetDataObject().platform); }