Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Broken Stylus on June 20, 2018, 11:35:36 AM

Title: Get/set Canvas scaler's "Reference pixels per unit"
Post by: Broken Stylus on June 20, 2018, 11:35:36 AM
Hi,

I'm looking for a way to extract and define the following value of a Canvas scaler component without using get/set property:

Reference PPU

I haven't found anything like that on the ecosystem.
It's to be used to (hopefully) produce a pixel perfect display despite using the "fit with screen size" option.
Title: Re: Get/set Canvas scaler's "Reference pixels per unit"
Post by: terri on August 12, 2018, 06:28:19 AM
If you drag the component into a state you can use get/set property for these type of values.

Not as good as an action since the target object can't be a variable but can help a lot when an action doesn't exist.
Title: Re: Get/set Canvas scaler's "Reference pixels per unit"
Post by: djaydino on August 12, 2018, 08:43:46 AM
Hi.
I will see if i can make an action for this in the comming week (replying on my phone)

Bump if i did not post yet by wednesday.