Beispiel #1
0
 protected void Start()
 {
     this.identity = this.GetComponent <Identity>();
     this.identity.BindEvent(typeof(Snapshots.Move), this.Move);
     this.controller = this.GetComponent <CharacterController>();
     this.shaking    = this.GetComponent <Shaking>();
 }
Beispiel #2
0
        protected void Start()
        {
            this.identity = this.GetComponent <Identity>();
            this.identity.BindEvent(typeof(Damage), this.Damage);

            this.shaking = this.GetComponent <Shaking>();
        }
Beispiel #3
0
        protected void Start()
        {
            this.identity = this.GetComponent <Identity>();
            this.identity.BindEvent(typeof(Snapshots.Rotate), this.Rotate);
            this.identity.BindEvent(typeof(Snapshots.Shoot), this.Shoot);

            this.shaking = this.GetComponent <Shaking>();
        }