示例#1
0
 void Start()
 {
     id         = GetComponent <PlayerIdentity>();
     movement   = GetComponent <PlayerMovement3D>();
     ui         = GetComponentInChildren <InWorldUI>();
     sfxManager = GetComponentInChildren <NetworkedSFXManager>();
 }
示例#2
0
	// Use this for initialization
	void Start () {
        hidingPlaceLayerMask = 1 << layerIndex;
        id = GetComponent<PlayerIdentity>();
        echoParticleEmitter = GetComponentInChildren<ParticleEmitter>();
		ui = GetComponentInChildren<InWorldUI>();
		sfxManager = GetComponentInChildren<NetworkedSFXManager>();
    }
示例#3
0
 // Use this for initialization
 void Start()
 {
     hidingPlaceLayerMask = 1 << layerIndex;
     id = GetComponent <PlayerIdentity>();
     echoParticleEmitter = GetComponentInChildren <ParticleEmitter>();
     ui         = GetComponentInChildren <InWorldUI>();
     sfxManager = GetComponentInChildren <NetworkedSFXManager>();
 }
示例#4
0
 void Start()
 {
     obstacle = GetComponent <NavMeshObstacle>();
     ui       = GetComponentInChildren <InWorldUI>();
     audio    = GetComponent <AudioSource>();
 }
示例#5
0
	void Start () {
		id = GetComponent<PlayerIdentity>();
		movement = GetComponent<PlayerMovement3D>();
		ui = GetComponentInChildren<InWorldUI>();
		sfxManager = GetComponentInChildren<NetworkedSFXManager>();
	}
示例#6
0
	void Start() {
		obstacle = GetComponent<NavMeshObstacle>();
		ui = GetComponentInChildren<InWorldUI>();
		audio = GetComponent<AudioSource>();
	}