using UnityEngine; using System.Collections; /// /// Scenery prop which if on an iPad it would be flush at the top. /// However on other devices it would be clipped. /// public class SceneryPropFromiPadTop : SceneryProp { protected override void OnSpawnMsg() { base.OnSpawnMsg(); _transform.localPosition += new Vector3(0, GameConstants.GAME_HEIGHT/2); } }