// Use this for initialization void Start () { rightArm = GameObject.FindWithTag("HookController"); pb = GameObject.FindWithTag("Player").GetComponent<PlayerBehavior>(); HookCollider = GameObject.FindWithTag("HookCollider"); hs = HookCollider.GetComponent<HookSelect>(); this.Disable(); this.Hide(); }
// Use this for initialization void Start() { rightArm = GameObject.FindWithTag("HookController"); pb = GameObject.FindWithTag("Player").GetComponent <PlayerBehavior>(); HookCollider = GameObject.FindWithTag("HookCollider"); hs = HookCollider.GetComponent <HookSelect>(); this.Disable(); this.Hide(); }