Exemple #1
0
 // Use this for initialization
 public void Start()
 {
     Time.timeScale    = 1.0f;
     mainMenuAnim      = mainMenu.GetComponent <Animator>();
     weaponsMenuAnim   = weaponsMenu.GetComponent <Animator>();
     graphismeMenuAnim = graphismeMenu.GetComponent <Animator>();
     languageMenuAnim  = languageMenu.GetComponent <Animator>();
     MultiMenuAnim     = MultiMenu.GetComponent <Animator>();
     controlsMenuAnim  = controlsMenu.GetComponent <Animator>();
     //backgroundAnim = background.GetComponent<Animator>();
     StartMenuAnim = StartMenu.GetComponent <Animator>();
 }