void Start() { m_playerTargetting = transform.GetComponent<PlayerTargetting> (); }
public void Start() { _targetting = new PlayerTargetting (); _targetting.Setup (user); }
//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; }
//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; }