Posts

Showing posts from December 21, 2018

How to resume game after pressing back in menu

Image
up vote 2 down vote favorite Hey I am trying to make a pause menu in my game. When escape is pressed pause game go to menu, but now I want to be able to press back in menu and resume my game. So far I can only pause game and cant press back. Also if i press Play in menu it starts at my tutorial scene and not the current scene. Is there a smart way to do this? Without resetting my game. `using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MenuScript : MonoBehaviour { // Use this for initialization void Start() { } // Update is called once per frame void Update() { if (Input.GetKey(KeyCode.Escape)) { if (Time.timeScale == 0) { Time.timeScale = 1; } else {

Baronnage anglo-normand

Image
Les possessions normandes au XII e  siècle Le baronnage anglo-normand («  baronage  » en anglais) correspond principalement à la noblesse du duché de Normandie qui a reçu des terres en Angleterre à partir du temps de Guillaume le Conquérant après la bataille de Hastings d'octobre 1066. Comme les Varègues dans la Russie kiévienne des IX e au XI e  siècles, il s'agit d’une noblesse d’origine étrangère vis-à-vis d’une population autochtone largement majoritaire, anglo-saxonne et danoise notamment en ce qui concerne l’Angleterre. Ses membres ont pour origines, essentiellement les tenants-en-chef de la principauté normande, et souvent des Normands issus de la famille ducale (Rollonides) mais également des nobles issus des contingents mercenaires extérieurs. En effet, en plus des Normands, de nombreuses troupes de mercenaires arrivant de régions même de pays divers participent à la conquête normande de l'Angleterre : des Bretons, des Flamands, des Picards, des Angev

Plotting Continuous Wavelet transform as 3-D plot

Image
up vote 0 down vote favorite I am currently performing CWT analyses on some EMG data and I was trying to plot this as 3D, so time x frequency x magnitude(scaling). Does anybody know how to do this? Here is some piece of code, but I don't seem to get anything out of it fs=2500; burst1=1x74939 double; [wt,f] = cwt(burst1,fs); Basically, what I would like to achieve is to put the results from cwt(burst1,fs); into 3D format, so that magnitude is the third dimension. I hope you guys can help me out =) matlab wavelet-transform share | improve this question edited Nov 22 at 14:30