Exemplo n.º 1
0
 public void StopSmear()
 {
     if (smear != null)
     {
         smear.Detach();
         smear = null;
     }
 }
Exemplo n.º 2
0
 public void StartSmear()
 {
     StopSmear();
     smear = Instantiate(smearPrefab, transform.position, Quaternion.identity);
     smear.Attach(transform);
 }