BBGamelib.CCLayerBase.init C# (CSharp) Метод

init() защищенный Метод

protected init ( ) : void
Результат void
		protected override void init()
		{
			base.init ();

			Vector2 s = CCDirector.sharedDirector.winSize;
			_anchorPoint = new Vector2 (0.5f, 0.5f);
			this.contentSize = s;
			this.ignoreAnchorPointForPosition = true;

			_touchEnabled = false;
			_touchPriority = 0;
			_touchMode = kCCTouchesMode.AllAtOnce;
			_touchSwallow = true;
//			_accelerometerEnabled = NO;
		}