// Start is called before the first frame update void Start() { m_maxHealth = m_baseHealth; m_currentHealth = m_baseHealth; m_scribbler = GetComponent <Scribbler>(); m_audio = GetComponent <AudioCharacterPlayer>(); }
private void Start() { m_scribbler = GetComponent <Scribbler>(); m_bossAI = GetComponent <BossAI>(); m_bossAudio = GetComponent <AudioCharacterBoss>(); m_enemyAudio = GetComponent <AudioCharacterEnemy>(); }
// Use this for initialization protected void Start() { lmbclicked = false; textToSpeech = GetComponent <TextToSpeech>(); scribbler = GetComponent <Scribbler>(); highlightPoints = GetComponent <HighlightPoints>(); //changeColor = GetComponent<ChangeColor>(); if (character != null) { trackerClientSimpleRobot = character.GetComponent <TrackerClientSimpleRobot>(); _rightHand = trackerClientSimpleRobot.getRightArm(); } if (skeletonPlayer != null) { trackerClientRecorded = skeletonPlayer.GetComponent <TrackerClientRecorded>(); fileListener = skeletonPlayer.GetComponent <FileListener>(); } clouds = GameObject.FindObjectsOfType <PointCloud>(); textToSpeechButtonIsActive = false; scribblerButtonIsActive = false; highlightPointsButtonIsActive = false; changeColorButtonIsActive = false; deleteButtonIsActive = false; //Load menu buttons textures textToSpeechTextureActive = Resources.Load("speechToTextActive") as Texture; textToSpeechTextureInactive = Resources.Load("speechToText") as Texture; scribblerTextureActive = Resources.Load("scribblerActive") as Texture; scribblerTextureInactive = Resources.Load("scribbler") as Texture; highlightPointsTextureActive = Resources.Load("highlightPointsActive") as Texture; highlightPointsTextureInactive = Resources.Load("highlightPoints") as Texture; changeColorTextureActive = Resources.Load("changeColorActive") as Texture; changeColorTextureInactive = Resources.Load("changeColor") as Texture; deleteTextureActive = Resources.Load("deleteActive") as Texture; deleteTextureInactive = Resources.Load("delete") as Texture; changeColorGO = GameObject.FindGameObjectWithTag("ColorPicker"); changeColorGO.SetActive(false); duration = 0; durationGO = GameObject.FindGameObjectWithTag("Duration"); durationGO.SetActive(false); isWheelActive = false; currentExecutionTime = 0.0f; currentCloud = 0; }
private void Start() { m_currentHealth = m_baseHealth; m_scribbler = GetComponent <Scribbler>(); }