示例#1
0
 void Start()
 {
     voice = this.GetComponent<C3JoinVoice>();
     transparent = Resources.Load("Unity3dGlassTranspareny") as Material;
     transparent_alt = Resources.Load("Unity3dGlassTranspareny_alt") as Material;
     transparent_emergency = Resources.Load("Unity3dGlassTranspareny_emergency") as Material;
     non_transparent_emergency = Resources.Load("non_transparent_emergency") as Material;
     non_transparent_alt = Resources.Load("non_transparent_alt") as Material;
     non_transparent = Resources.Load("non_transparent") as Material;
     multiPathPoint = null;
     cusSeeker = this.GetComponent<CustomSeeker>();
 }
示例#2
0
 // Use this for initialization
 void Start()
 {
     cusSeeker = this.GetComponent<CustomSeeker>();
     server = this.GetComponent<Server>();
 }