// 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); }
// 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 ) ; }