void Start() { SE = SEobj.GetComponents <AudioSource>(); Screen.SetResolution(1920, 1080, true); player = playerObj.GetComponent <Player>(); CardHandNum = player.PlayerZone.Count; pool = cardPoolObj.GetComponent <CardPool>(); getDoubleUp = doubleUpobj.GetComponent <DoubleUp>(); showSpace = showZone.GetComponent <ShowSpace>(); showSpace.manager = this; StartCoroutine(GameStart()); }
void Start() { SystemSound = SEobj.GetComponents <AudioSource>(); Screen.SetResolution(1920, 1080, true); player = playerObj.GetComponent <Player>(); CardHandNum = player.PlayerZone.Count; pool = cardPoolObj.GetComponent <CardPool>(); enemy = enemyObj.GetComponent <Enemy>(); DefaultScale = SelectFrame.transform.localScale; defupos = new Vector3(-3, 1, 0); showSpace = showZone.GetComponent <ShowSpace>(); showSpace.manager = this; StartCoroutine(GameStart()); }
public void MainMethod() { List <Point> space = new List <Point>(); Console.WriteLine("Enter number of points in your space"); long pointsInSpace = Convert.ToInt64(Console.ReadLine()); Filler spaceFiller = new Filler(); spaceFiller.FillSpaceWithPoints(ref space, ref pointsInSpace, -1000, 1000); ShowSpace _displaySpace = new ShowSpace(); _displaySpace.ShowPointsSpace(ref space, space.Count); }
private void Start() { SE = SeObj.GetComponents <AudioSource>(); showSpace = EnemyShowSpace.GetComponent <ShowSpace>(); }