2D Toolkit Forum

2D Toolkit => Support => Topic started by: ravian451 on May 29, 2014, 07:16:34 pm

Title: changing camera resolution during run time
Post by: ravian451 on May 29, 2014, 07:16:34 pm
hi

can i change Camera  ResolutionOverride during run time for different devices .? eg


for iphone 4 the script should use Wildcard-> FitVisible

for iphone 5 the script use      WildCard-> StretchToFit



your help will be appreciate .

thanx in advance
Title: Re: changing camera resolution during run time
Post by: unikronsoftware on May 30, 2014, 11:56:44 am
Just change it? Its a public member.
tk2dCamera.resolutionOverride[0]...