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