/// <summary> /// Position of Current Spell Indicator or Mouse Ray if unavailable /// </summary> /// <summary> /// Select and make visible the Spell Indicator given by name. /// </summary> public void SelectSpellIndicator(string splatName) { CancelSpellIndicator(); SpellIndicator indicator = GetSpellIndicator(splatName); if (indicator.RangeIndicator != null) { indicator.RangeIndicator.gameObject.SetActive(true); indicator.RangeIndicator.OnShow(); } indicator.gameObject.SetActive(true); indicator.OnShow(); CurrentSpellIndicator = indicator; }
protected override void MoveCallBack_Skill_3(Vector2 tVec2) { if (IsInQuXiaoArea(Input.mousePosition)) { image_quxiao2.SetActive(true); } else { image_quxiao2.SetActive(false); } SpellIndicator mCone = splatManager.GetSpellIndicator("Line"); mCone.JoystickVector = new Vector3(tVec2.x, 0, tVec2.y); //Debug.LogErrorFormat("MoveCallBack_Skill_3==========>{0}", tVec2); }