예제 #1
0
    // Use this for initialization
    void Start()
    {
        myTransform = transform;
        targetScript = GetComponent<Zombie_Target>();

        if(isServer)
            StartCoroutine(Attack());
    }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     myTransform  = transform;
     targetScript = GetComponent <Zombie_Target>();
     if (isServer)
     {
         StartCoroutine(Attack());
     }
 }
예제 #3
0
 void Start()
 {
     myTransform  = transform;
     targetScript = GetComponent <Zombie_Target>();
     audioSync    = GetComponent <AudioSync>();
     if (isServer)
     {
         StartCoroutine(Attack());
         StartCoroutine(Bellow());
     }
 }