Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     pLevelGenerator = this.gameObject.GetComponent<LevelGeneratorStatic>() ;
     if( null == pLevelGenerator )
     {
         Debug.LogError( "null == pLevelGenerator" ) ;
     }
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     pLevelGenerator = this.gameObject.GetComponent <LevelGeneratorStatic>();
     if (null == pLevelGenerator)
     {
         Debug.LogError("null == pLevelGenerator");
     }
 }
Ejemplo n.º 3
0
    // 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);
    }
Ejemplo n.º 4
0
    // 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);
    }
Ejemplo n.º 5
0
    // 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 ) ;
    }
Ejemplo n.º 6
0
    // 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 ) ;
    }