Exemple #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>();
 }
Exemple #2
0
        protected void Start()
        {
            this.identity = this.GetComponent <Identity>();
            this.identity.BindEvent(typeof(Damage), this.Damage);

            this.shaking = this.GetComponent <Shaking>();
        }
Exemple #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>();
        }