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