Ejemplo n.º 1
0
        ////////////////////////////////////////////////////////////////////////////////////////////////
        /*--------------------------------------------------------------------------------------------*/
        public void Awake()
        {
            vSetup               = gameObject.GetComponent <HovercursorSetup>();
            vFakeItem            = new FakeItemState();
            vFakeItem.ItemAutoId = 123;

            ActiveCursorTypes = new CursorType[0];
        }
        ////////////////////////////////////////////////////////////////////////////////////////////////
        /*--------------------------------------------------------------------------------------------*/
        public void Awake()
        {
            vSetup = gameObject.GetComponent<HovercursorSetup>();
            vFakeItem = new FakeItemState();
            vFakeItem.ItemAutoId = 123;

            ActiveCursorTypes = new CursorType[0];
        }
		////////////////////////////////////////////////////////////////////////////////////////////////
		/*--------------------------------------------------------------------------------------------*/
		public void Awake() {
			vSetup = gameObject.GetComponent<HovercursorSetup>();
			vFakeItem = new FakeItemState();
			vFakeItem.ItemAutoId = 123;

			vActiveCursorTypes = new ReadList<CursorType>();
			ActiveCursorTypes = vActiveCursorTypes.ReadOnly;

			vFakeInteractions = new ReadOnlyCollection<IBaseItemInteractionState>(
				new List<IBaseItemInteractionState>());
			vFakePlanes = new ReadOnlyCollection<PlaneData>(new List<PlaneData>());
		}
        ////////////////////////////////////////////////////////////////////////////////////////////////
        /*--------------------------------------------------------------------------------------------*/
        public void Awake()
        {
            vSetup               = gameObject.GetComponent <HovercursorSetup>();
            vFakeItem            = new FakeItemState();
            vFakeItem.ItemAutoId = 123;

            vActiveCursorTypes = new ReadList <CursorType>();
            ActiveCursorTypes  = vActiveCursorTypes.ReadOnly;

            vFakeInteractions = new ReadOnlyCollection <IBaseItemInteractionState>(
                new List <IBaseItemInteractionState>());
            vFakePlanes = new ReadOnlyCollection <PlaneData>(new List <PlaneData>());
        }