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