// public string m_StatusText = "XD" ; // Use this for initialization void Start() { pLevelGeneratorPtr = this.gameObject.GetComponent <LevelGeneratorDynamic>(); if (null == pLevelGeneratorPtr) { Debug.LogError("null == pLevelGeneratorPtr"); } pUpdateTrainPtr = this.gameObject.GetComponent <UpdateTrainDynamic>(); if (null == pUpdateTrainPtr) { Debug.LogError("null == pUpdateTrainPtr"); } pUpdateStaionPtr = this.gameObject.GetComponent <UpdateStationDynamic>(); if (null == pUpdateStaionPtr) { Debug.LogError("null == pUpdateStaionPtr"); } pCameraControl = this.gameObject.GetComponent <CameraControl>(); if (null == pCameraControl) { Debug.LogError("null == pCameraControl"); } m_EditorRect = new Rect(0, 0, m_DisplayEditorWindowWidth, m_DisplayEditorWindowHeight); }
// Use this for initialization void Start() { pLevelGenerator = this.gameObject.GetComponent<LevelGeneratorDynamic>() ; if( null == pLevelGenerator ) { Debug.LogError( "null == pLevelGenerator" ) ; } }
// Use this for initialization void Start() { pLevelGenerator = this.gameObject.GetComponent <LevelGeneratorDynamic>(); if (null == pLevelGenerator) { Debug.LogError("null == pLevelGenerator"); } }
// public string m_StatusText = "XD" ; // Use this for initialization void Start() { pLevelGeneratorPtr = this.gameObject.GetComponent<LevelGeneratorDynamic>() ; if( null == pLevelGeneratorPtr ) { Debug.LogError( "null == pLevelGeneratorPtr" ) ; } pUpdateTrainPtr = this.gameObject.GetComponent<UpdateTrainDynamic>() ; if( null == pUpdateTrainPtr ) { Debug.LogError( "null == pUpdateTrainPtr" ) ; } pUpdateStaionPtr = this.gameObject.GetComponent<UpdateStationDynamic>() ; if( null == pUpdateStaionPtr ) { Debug.LogError( "null == pUpdateStaionPtr" ) ; } pCameraControl = this.gameObject.GetComponent<CameraControl>() ; if( null == pCameraControl ) { Debug.LogError( "null == pCameraControl" ) ; } m_EditorRect = new Rect( 0 , 0 , m_DisplayEditorWindowWidth , m_DisplayEditorWindowHeight ) ; }