• Benvenuto in Making Videogames!
  • Dai sfogo alla tua fantasia!
  • Crea il tuo Videogioco!
Benvenuto ospite! Login Registrati




Valutazione discussione:
  • 0 voto(i) - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
help get component
#8
grazie ad entrambi per lwe rispsote ed il vostro tempo..cmq riguardo la questione footstep sott'acqua io ho inserito la variable "inwater" nel FirstPerson Controller.cs dopo avviamente averla resa pubblica nello script swim.cs
ed infine sempre nello script FirstPesonController.cs ho inserito questo

private void PlayFootStepAudio()
{
if (!m_CharacterController.isGrounded || inwater = true);
{
return;
}
m_FootstepSounds.enabled = false
}

ma ho i seguenti errori

Severity Code Description Project File Line Suppression State
Error CS0121 The call is ambiguous between the following methods or properties: 'FirstPersonController.PlayFootStepAudio()' and 'FirstPersonController.PlayFootStepAudio()' L.O.S.T. Pre Alpha v0.1.CSharp.Plugins C:\Users\Peppe\Documents\L.O.S.T. Pre Alpha v0.1\Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs 209 Active


Severity Code Description Project File Line Suppression State
Error CS0111 Type 'FirstPersonController' already defines a member called 'PlayFootStepAudio' with the same parameter types L.O.S.T. Pre Alpha v0.1.CSharp.Plugins C:\Users\Peppe\Documents\L.O.S.T. Pre Alpha v0.1\Assets\Standard Assets\Characters\FirstPersonCharacter\Scripts\FirstPersonController.cs 230 Active
 
Rispondi
  


Messaggi in questa discussione
help get component - da JC LEON - 25-08-2016, 08:26 PM
RE: help get component - da Zettamax - 25-08-2016, 09:55 PM
RE: help get component - da JC LEON - 25-08-2016, 10:50 PM
RE: help get component - da Zettamax - 25-08-2016, 11:14 PM
RE: help get component - da JC LEON - 26-08-2016, 12:41 AM
RE: help get component - da alessiobb3b - 26-08-2016, 07:34 PM
RE: help get component - da Zettamax - 26-08-2016, 08:44 PM
RE: help get component - da JC LEON - 27-08-2016, 01:26 AM
RE: help get component - da Zettamax - 27-08-2016, 09:34 PM
RE: help get component - da JC LEON - 28-08-2016, 11:58 AM
RE: help get component - da Zettamax - 28-08-2016, 12:54 PM
RE: help get component - da JC LEON - 28-08-2016, 02:28 PM
RE: help get component - da Zettamax - 28-08-2016, 04:37 PM

Vai al forum:


Browsing: 2 Ospite(i)