Exemplo n.º 1
0
    void Start()
    {
        map = new BSP30map(mapName);
        if (map == null)
        {
            Debug.LogError("Problem Loading map!!!");
        }


        if (player == null)
        {
            Debug.LogError("player is null, cant get transform");
        }
        GenerateVisArrays();
        GenerateVisObjects();
    }
Exemplo n.º 2
0
		void Start ()
		{
	
				map = new BSP30map (mapName);
				if (map == null)
				{
						Debug.LogError ("Problem Loading map!!!");
						
				}
				

				if (player == null)
				{
						Debug.LogError ("player is null, cant get transform");

				}
				GenerateVisArrays ();
				GenerateVisObjects ();


		}