// Use this for initialization void Start() { pLevelGenerator = this.gameObject.GetComponent<LevelGeneratorStatic>() ; if( null == pLevelGenerator ) { Debug.LogError( "null == pLevelGenerator" ) ; } }
// Use this for initialization void Start() { pLevelGenerator = this.gameObject.GetComponent <LevelGeneratorStatic>(); if (null == pLevelGenerator) { Debug.LogError("null == pLevelGenerator"); } }
// Use this for initialization void Start() { m_LevelGeneratorStaticPtr = this.gameObject.GetComponent <LevelGeneratorStatic>(); if (null == m_LevelGeneratorStaticPtr) { } else { m_SaveStationDataFilepath = m_LevelGeneratorStaticPtr.m_StationTableFilepath; } m_EditorRect = new Rect(0, 0, Screen.width, Screen.height); }
// public string m_StatusText = "XD" ; // Use this for initialization void Start() { pLevelGeneratorPtr = this.gameObject.GetComponent <LevelGeneratorStatic>(); if (null == pLevelGeneratorPtr) { } pUpdateTrainPtr = this.gameObject.GetComponent <UpdateTrain>(); if (null == pUpdateTrainPtr) { } pUpdateStaionPtr = this.gameObject.GetComponent <UpdateStation>(); if (null == pUpdateStaionPtr) { } m_EditorRect = new Rect(0, 0, m_DisplayEditorWindowWidth, m_DisplayEditorWindowHeight); }
// Use this for initialization void Start() { m_LevelGeneratorStaticPtr = this.gameObject.GetComponent<LevelGeneratorStatic>() ; if( null == m_LevelGeneratorStaticPtr ) { } else { m_SaveStationDataFilepath = m_LevelGeneratorStaticPtr.m_StationTableFilepath ; } m_EditorRect = new Rect( 0 , 0 , Screen.width , Screen.height ) ; }
// public string m_StatusText = "XD" ; // Use this for initialization void Start() { pLevelGeneratorPtr = this.gameObject.GetComponent<LevelGeneratorStatic>() ; if( null == pLevelGeneratorPtr ) { } pUpdateTrainPtr = this.gameObject.GetComponent<UpdateTrain>() ; if( null == pUpdateTrainPtr ) { } pUpdateStaionPtr = this.gameObject.GetComponent<UpdateStation>() ; if( null == pUpdateStaionPtr ) { } m_EditorRect = new Rect( 0 , 0 , m_DisplayEditorWindowWidth , m_DisplayEditorWindowHeight ) ; }