using UnityEngine; using System.Collections; /// /// Scenery prop which will be flush on the top edge of the screen on all devices /// public class SceneryPropFromTopScreenEdge : SceneryProp { protected override void OnSpawnMsg() { base.OnSpawnMsg(); _transform.localPosition += new Vector3(0, AspectRatioFixer.UIManualHeight/2); } }