Beispiel #1
0
    public static void SetFacePos(GameObject target, Vector3 targetPos, MathRange YRotateRange)
    {
        ShooterSkillManager mgr = target.GetComponent <ShooterSkillManager>();

        if (mgr == null)
        {
            LogicSystem.GfxLog("SetFacePos skill manager miss!");
            return;
        }
        mgr.SetFacePos(targetPos, YRotateRange);
    }
Beispiel #2
0
 public override void SetFaceDir(Vector3 targetpos)
 {
     m_SkillManager.SetFacePos(targetpos);
 }