BBGamelib.CCDirector.CCDirector C# (CSharp) Method

CCDirector() protected method

protected CCDirector ( ) : UnityEngine
return UnityEngine
		protected CCDirector()
		{
			CCDebug.Log("cocos2d: cocos2d-iphone v2.1");
			// scenes
			_runningScene = null;
			_nextScene = null;
			
//			_notificationNode = nil;

			_oldAnimationInterval = _animationInterval = 1.0f / kDefaultFPS;
			_scenesStack = new Stack<CCScene> (10);
			
			// Set default projection (3D)
//			_projection = kCCDirectorProjectionDefault;
			
			// projection delegate if "Custom" projection is used
//			_delegate = nil;
			
			// FPS
			_displayStats = false;

			_displayError = false;

//			_totalFrames = _frames = 0;
			
			// paused ?
			_isPaused = false;
			
			// running thread
//			_runningThread = null;
			
			// scheduler
			_scheduler = new CCScheduler();
			
			// action manager
			_actionManager = new CCActionManager ();
			_scheduler.scheduleUpdate (_actionManager, CCScheduler.kCCPrioritySystem, false);
			
			_winSizeInPixels = Vector2.zero;


			//CCDirectorIOS
//			_ccContentScaleFactor = 1;
//			_isContentScaleSupported = false;
			_touchDispatcher = new CCTouchDispatcher ();
		}