private void ClearPage() { PrivateVariableList.Clear(); PublicVariableList.Clear(); ProtectedVariableList.Clear(); PrivateMethodList.Clear(); PublicMethodList.Clear(); ProtectedMethodList.Clear(); ClassNameTextBox.Text = ""; NoBaseObjectButton.Select(); GameObjectSelector.Select(); UserNameBox.Text = ""; DescriptionBox.Text = ""; PublicVariableDisplay.DataSource = new List <string>(PublicVariableList); PrivateVariableDisplay.DataSource = new List <string>(PrivateVariableList); ProtectedVariableDisplay.DataSource = new List <string>(ProtectedVariableList); PrivateMethodDisplay.DataSource = new List <string>(PrivateMethodList); PublicMethodDisplay.DataSource = new List <string>(PublicMethodList); ProtectedMethodDisplay.DataSource = new List <string>(ProtectedMethodList); }
protected virtual void Init() { var gameplayManagersGO = new GameObject("GameplayManagers"); _minionManager = gameplayManagersGO.AddComponent <MinionManager>(); _towerManager = gameplayManagersGO.AddComponent <TowerManager>(); //_lvlSkillManager = gameplayManagersGO.AddComponent<LevelSkillManager>(); _minionSkillManager = gameplayManagersGO.AddComponent <MinionsSkillManager>(); _goSelector = FindObjectOfType <GameObjectSelector>(); _floorEffect = FindObjectOfType <FloorEffect>(); //_lvlSkillManager.level = this; _towerManager.level = _minionManager.level = this; SetGameManagerData(); InitLevelCanvas(); ConfigureLevelEvents(); _gameManager.LevelInitFinished(this); _minionSkillManager.Init(this); ExecuteTutorialStep(null); }
private void Form1_Load(object sender, EventArgs e) { GameObjectSelector.Select(); GenerateButton.Select(); DataTypeList = GetDataTypeList(); SetUpAddFunctionality(); }
void Awake() { if (!_selector) { _selector = GetComponent <GameObjectSelector>(); } if (!_movementMotor) { _movementMotor = GetComponent <MovementMotor>(); } }
private void Awake() { bucketSelector = GetComponent <GameObjectSelector>(); }