本文整理汇总了C#中UIManager._initUI方法的典型用法代码示例。如果您正苦于以下问题:C# UIManager._initUI方法的具体用法?C# UIManager._initUI怎么用?C# UIManager._initUI使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UIManager
的用法示例。
在下文中一共展示了UIManager._initUI方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Start
void Start()
{
if (CreationFunc != null)
CreationFunc();
//Debug.Log("Starting to do shit");
gameUI = GameObject.Find("Game UI");
gameSystem = GameObject.Find("Game System");
ingameObject = GameObject.Find("InGame Object");
playerScript = GameObject.Find("Player").GetComponent<PlayerScript>();
gameEndSystem = GameObject.Find("GameEndSystem").GetComponent<GameEndSystem>();
levelSystem = GameObject.Find("LevelInit").GetComponent<LevelSystem>();
uiManager = GameObject.Find("UIManager").GetComponent<UIManager>();
checkPointSystem = GameObject.Find("CheckPointSystem").GetComponent<CheckPointSystem>();
controls = GameObject.Find("Controls").GetComponent<Controls>();
scoreSystem = GameObject.Find("ScoreSystem").GetComponent<ScoreSystem>();
gameInfo = GameObject.Find("GameInfo").GetComponent<GameInfo>();
sceneManager = GameObject.Find("SceneManager").GetComponent<SceneManager>();
if (gameUI.name != null)
Debug.Log(gameUI.name + " is up");
if (playerScript.name != null)
Debug.Log(playerScript.name + " is up");
if(playerScript.name!=null)
Debug.Log(playerScript.name + " is up");
if(gameEndSystem.name!=null)
Debug.Log(gameEndSystem.name + " is up");
if (levelSystem && levelSystem.name != null)
Debug.Log(levelSystem.name + " is up");
if (checkPointSystem && checkPointSystem.name != null)
Debug.Log(checkPointSystem.name + " is up");
uiManager._initUI();
levelSystem._initLevel();
playerScript._createCar(gameInfo.chosen_VehProfile);
// playerScript
}