void Start() { w = waterfall.Get(); obj = transform.GetChild(0); ps = obj.gameObject.GetComponent <ParticleSystem>(); swordSound = GameObject.Find("SwordSound").GetComponent <AudioSource>(); }
waterfall() { w = this; }
void Start() { anim = GetComponent <Animator>(); anim.speed = 0; instance = this; }