本文整理汇总了C#中PlayerInfo.DrawPlayerInfoInUI_SinglePlayer方法的典型用法代码示例。如果您正苦于以下问题:C# PlayerInfo.DrawPlayerInfoInUI_SinglePlayer方法的具体用法?C# PlayerInfo.DrawPlayerInfoInUI_SinglePlayer怎么用?C# PlayerInfo.DrawPlayerInfoInUI_SinglePlayer使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PlayerInfo
的用法示例。
在下文中一共展示了PlayerInfo.DrawPlayerInfoInUI_SinglePlayer方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Start
void Start()
{
Me = this;
TerrianManager = transform.FindChild("TerrainManager").GetComponent<TerrianManager>();
SpawnManager = transform.FindChild("SpawnManager").GetComponent<SpawnManager>();
TurnManager = transform.FindChild("TurnManager").GetComponent<TurnManager>();
DamageManager = transform.FindChild("DamageAndScoreManager").GetComponent<DamageManager>();
ScoreManager = transform.FindChild("DamageAndScoreManager").GetComponent<ScoreManager>();
DestroyManager = transform.FindChild("DestroyManager").GetComponent<DestroyManager>();
WeaponManager = transform.FindChild("WeaponsManager").GetComponent<WeaponsCombo>();
ModesManager = transform.FindChild("ModesManager").GetComponent<ModesCombo>();
MapsManager = transform.FindChild("MapManager").GetComponent<MapManager>();
PlayerInfos = SpawnManager.GetComponent<PlayerInfo>();
MapsManager.StartMap((MapManager.Maps) RoundManager.RandomMap);
SpawnManager.Spawn(TanksStaringCount);
TurnManager.Begin();
Wind.StartWind();
WeaponsClass.InitiallizeWeaponsQuantities();
ModesClass.InitiallizeModesQuantities();
#if (!Debug)
for (int i = 0; i < WeaponsClass.WeaponsQuantities.Count; i++)
WeaponsClass.WeaponsQuantities[WeaponsClass.WeaponsQuantities.ElementAt(i).Key] = 99;
for (int i = 0; i < ModesClass.ModesQuantities.Count; i++)
ModesClass.ModesQuantities[ModesClass.ModesQuantities.ElementAt(i).Key] = 99;
#endif
PlayerInfos.DrawPlayerInfoInUI_SinglePlayer();
//begin clouds
GameObject.Find("Cloud").GetComponent<Cload_Movement>().Begin();
GameObject.Find("Cloud (1)").GetComponent<Cload_Movement>().Begin();
GameObject.Find("Cloud (2)").GetComponent<Cload_Movement>().Begin();
//
GameObject.Find("UIButtons").GetComponent<UIButtonClick>().InitilizeButtons();
//show round loadout
GameObject fade = GameObject.Find("Fade");
fade.GetComponent<Fade>().ShowLoadout();
HideHUDS();
}