void Start()
 {
     m_playerTargetting = transform.GetComponent<PlayerTargetting> ();
 }
예제 #2
0
 public void Start()
 {
     _targetting = new PlayerTargetting ();
     _targetting.Setup (user);
 }
예제 #3
0
 //delegate methods called when their attached event is activate from player input
 //    public ButtonInput stance;													//used for drawing weapon and locking on
 //    public ButtonInput evasion;													//used for running and dodging
 //    public ButtonInput mainHand;												//used for mainhand input
 //    public ButtonInput offHand;													//used for offhand input
 //    public ButtonInput special1;
 //    public ButtonInput special2;
 //    public ButtonInput special3;
 public void Awake()
 {
     user = GetComponent<BasePlayer>();
     _targetting = new PlayerTargetting ();
     //ActivateRun += evasion;
 }
예제 #4
0
    //delegate methods called when their attached event is activate from player input
//	public ButtonInput stance;													//used for drawing weapon and locking on
//	public ButtonInput evasion;													//used for running and dodging
//	public ButtonInput mainHand;												//used for mainhand input
//	public ButtonInput offHand;													//used for offhand input
//	public ButtonInput special1;
//	public ButtonInput special2;
//	public ButtonInput special3;

    public void Awake()
    {
        user        = GetComponent <BasePlayer>();
        _targetting = new PlayerTargetting();
        //ActivateRun += evasion;
    }