示例#1
0
 void Awake()
 {
     Instance = this;
     linkAS = GetComponents<AudioSource>()[0];
     impactAS = GetComponents<AudioSource>()[1];
     shootAS = GetComponents<AudioSource>()[2];
     hitAS = GetComponents<AudioSource>()[3];
 }
示例#2
0
 void Awake()
 {
     Instance = this;
     linkAS   = GetComponents <AudioSource>()[0];
     impactAS = GetComponents <AudioSource>()[1];
     shootAS  = GetComponents <AudioSource>()[2];
     hitAS    = GetComponents <AudioSource>()[3];
 }