Exemple #1
0
        /*
         * Here we use regular binding handler to setup text based on current resolution information.
         */

        public override void ResolutionChanged(ResolutionInformation arg1)
        {
            if (arg1 != null)
            {
                ResolutionText.text = string.Format("{0} x {1}", arg1.Width, arg1.Height);
            }
        }
 public virtual void ResolutionChanged(ResolutionInformation arg1)
 {
 }
Exemple #3
0
 public virtual void ResolutionChanged(ResolutionInformation arg1)
 {
 }
 /*
 * Here we use regular binding handler to setup text based on current resolution information.
 */
 public override void ResolutionChanged(ResolutionInformation arg1)
 {
     if (arg1 != null) ResolutionText.text = string.Format("{0} x {1}", arg1.Width, arg1.Height);
 }