// Use this for initialization void Start() { initPosition = transform.position; parameters = parameterObject.GetComponent <gameParameters>(); water = waterObject.GetComponent <ParticleSystem>(); }
// Use this for initialization void Start() { parameters = parameterObject.GetComponent <gameParameters>(); answerbase = dialogueManager.GetComponent <answersBase>(); Good_Feedback_Particle = Good_Feedback_Object.GetComponent <ParticleSystem>(); Bad_Feedback_Particle = Bad_Feedback_Object.GetComponent <ParticleSystem>(); }
public void startGame(NetworkMessage netMsg) { Debug.Log("Received Start Message."); gameParameters msg = netMsg.ReadMessage <gameParameters>(); Debug.Log(msg.param); if (msg.param == 1) { SceneManager.LoadScene("Game"); gameParametersContainer.gameParam = msg; } }
void Awake() { parameters = parameterObject.GetComponent <gameParameters>(); optionbase = optionObject.GetComponent <optionsBase>(); context = this.GetComponent <Text>(); }
// Use this for initialization void Start() { image = GetComponent <Image>(); BGM_manager = BGM_Ojects.GetComponent <BGMManager>(); parameters = parameterObject.GetComponent <gameParameters>(); }
void Start() { image = GetComponent <Image>(); parameters = parameterObject.GetComponent <gameParameters>(); }
// Use this for initialization void Start() { parameters = parameterObject.GetComponent <gameParameters>(); }