Пример #1
0
 private void Awake()
 {
     this.rb           = this.GetComponent <Rigidbody>();
     this.curseDisplay = this.GetComponent <CurseDisplay>();
     this.sink         = this.GetComponent <Sink>();
     this.source       = this.GetComponent <AudioSource>();
     this.initialDrag  = this.rb.drag;
 }
Пример #2
0
 private void Awake()
 {
     this.curseDisplay = this.GetComponent <CurseDisplay>();
 }